diff --git a/lib/default.nix b/lib/default.nix index 07adadd1..4d8ee7bb 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -2,13 +2,11 @@ # Helper function for generating home-manager configs mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration { # pkgs = inputs.nixpkgs.legacyPackages.${platform}; - pkgs = inputs.nixpkgs.${platform}; + # pkgs = inputs.nixpkgs.${platform}; extraSpecialArgs = { inherit inputs outputs desktop hostname platform username hmStateVersion; }; - modules = [ - ../home-manager - ]; + modules = [ ../home-manager ]; }; # Helper function for generating host configs @@ -18,9 +16,9 @@ }; modules = [ ../nixos - inputs.sops-nix.nixosModules.sops # Handle secrets - inputs.lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration - inputs.nur.nixosModules.nur # NixOS User Repository + inputs.sops-nix.nixosModules.sops # Handle secrets + inputs.lanzaboote.nixosModules.lanzaboote # SecureBoot Configuration + inputs.nur.nixosModules.nur # NixOS User Repository ] ++ (inputs.nixpkgs.lib.optionals (installer != null) [ installer ]); };