diff --git a/de/hypr/default.nix b/de/hypr/default.nix index cb3ad60..4eb28f7 100644 --- a/de/hypr/default.nix +++ b/de/hypr/default.nix @@ -1,8 +1,8 @@ { - hy3, + inputs, pkgs, ... -} : { +}: { home.file = { ".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d; }; @@ -10,11 +10,11 @@ home.packages = [ pkgs.egl-wayland # For NVIDIA compatibility ]; - + 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 diff --git a/flake.nix b/flake.nix index 0e0731e..6c74a5c 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ];