Just pass inputs around

This commit is contained in:
2024-08-24 09:54:17 -07:00
parent 4dfa85d7f5
commit 4d34909b52
2 changed files with 5 additions and 5 deletions

View File

@@ -22,7 +22,7 @@
};
};
outputs = { nixpkgs, home-manager, hyprland, hy3, ... }:
outputs = { nixpkgs, home-manager, hyprland, ... } @inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@@ -40,7 +40,7 @@
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
extraSpecialArgs = { inherit hy3; inherit hyprland; };
extraSpecialArgs = { inherit inputs; };
};
};
}

View File

@@ -1,4 +1,4 @@
{ hyprland, hy3, ... }:
{ inputs, ... }:
{
imports = [
@@ -7,8 +7,8 @@
wayland.windowManager.hyprland = {
enable = true;
package = hyprland.packages.x86_64-linux.hyprland;
plugins = [ hy3.packages.x86_64-linux.hy3 ];
package = inputs.hyprland.packages.x86_64-linux.hyprland;
plugins = [ inputs.hy3.packages.x86_64-linux.hy3 ];
settings = {
"$mod" = "SUPER";
"$terminal" = "kitty";