Add h3y
This commit is contained in:
23
flake.nix
23
flake.nix
@@ -1,16 +1,28 @@
|
||||
{
|
||||
description = "Home Manager configuration of johno";
|
||||
|
||||
inputs = {
|
||||
inputs =
|
||||
{
|
||||
# Specify the source of Home Manager and Nixpkgs.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland = {
|
||||
type = "git";
|
||||
url = "https://github.com/hyprwm/Hyprland";
|
||||
submodules = true;
|
||||
rev = "9a09eac79b85c846e3a865a9078a3f8ff65a9259";
|
||||
};
|
||||
hy3 = {
|
||||
url = "github:outfoxxed/hy3?ref=hl0.42.0";
|
||||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, ... }:
|
||||
outputs = { nixpkgs, home-manager, hyprland, hy3, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
@@ -20,10 +32,15 @@
|
||||
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [ ./home.nix ];
|
||||
modules = [
|
||||
hyprland.homeManagerModules.default
|
||||
|
||||
./home.nix
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
extraSpecialArgs = { inherit hy3; inherit hyprland; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user