This commit is contained in:
iFargle 2023-08-23 19:45:34 +09:00
parent 4a976e8776
commit c5bddbe161

View file

@ -2,13 +2,11 @@
# Helper function for generating home-manager configs # Helper function for generating home-manager configs
mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration { mkHome = { hostname, username, desktop ? null, platform ? "x86_64-linux" }: inputs.home-manager.lib.homeManagerConfiguration {
# pkgs = inputs.nixpkgs.legacyPackages.${platform}; # pkgs = inputs.nixpkgs.legacyPackages.${platform};
pkgs = inputs.nixpkgs.${platform}; # pkgs = inputs.nixpkgs.${platform};
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs outputs desktop hostname platform username hmStateVersion; inherit inputs outputs desktop hostname platform username hmStateVersion;
}; };
modules = [ modules = [ ../home-manager ];
../home-manager
];
}; };
# Helper function for generating host configs # Helper function for generating host configs