refactor(flake): Pass inputs
as extraSpecialArgs
This commit is contained in:
parent
2d423aa521
commit
1525ee9499
2 changed files with 7 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
hy3,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
@ -14,7 +14,7 @@
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ./hyprland.conf;
|
||||
plugins = [ hy3.packages.${pkgs.system}.hy3 ];
|
||||
plugins = [inputs.hy3.packages.${pkgs.system}.hy3];
|
||||
};
|
||||
|
||||
# bar is required
|
||||
|
|
|
@ -28,9 +28,8 @@
|
|||
nixpkgs,
|
||||
disko,
|
||||
home-manager,
|
||||
hy3,
|
||||
...
|
||||
}: let
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
|
@ -48,7 +47,7 @@
|
|||
"gaspard" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {inherit hy3;};
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./users/gaspard.nix
|
||||
];
|
||||
|
@ -57,7 +56,7 @@
|
|||
"culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {inherit hy3;};
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./users/culisg.nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue