This commit is contained in:
John Lancaster
2024-12-08 16:22:59 -06:00
parent 30c43f5488
commit 138df54fbc
3 changed files with 16 additions and 6 deletions

View File

@@ -38,6 +38,7 @@
};
pkgs = inputs.nixpkgs.legacyPackages.${systemSettings.system};
pkgs-stable = inputs.nixpkgs-stable.legacyPackages.${systemSettings.system};
in
{
@@ -64,10 +65,18 @@
homeConfigurations = {
useGlobalPkgs = true;
user = home-manager.lib.homeManagerConfiguration {
"${userSettings.username}" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit inputs outputs pkgs;};
modules = [ ./homeManagerModules/home.nix ];
specialArgs = {
inherit inputs;
inherit outputs;
inherit userSettings;
inherit systemSettings;
};
modules = [
./homeManagerModules/home.nix
({...}: {home.stateVersion = "${stateVersion}";})
];
};
};
};