Pin hyprland and hy3 to match the system
This commit is contained in:
19
flake.nix
19
flake.nix
@@ -10,19 +10,13 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland = {
|
||||
system-flake = {
|
||||
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";
|
||||
url = "file:///etc/nixos";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, hyprland, hy3, ... }:
|
||||
outputs = { nixpkgs, home-manager, ... } @inputs :
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
@@ -33,14 +27,17 @@
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [
|
||||
hyprland.homeManagerModules.default
|
||||
inputs.system-flake.inputs.hyprland.homeManagerModules.default
|
||||
|
||||
./home.nix
|
||||
];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
extraSpecialArgs = { inherit hy3; inherit hyprland; };
|
||||
extraSpecialArgs = {
|
||||
hy3 = inputs.system-flake.inputs.hy3;
|
||||
hyprland = inputs.system-flake.inputs.hyprland;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user