Fix home-manager breakage

This commit is contained in:
Nathan McCarty 2022-05-18 01:09:25 -04:00
parent 77d25ca4ca
commit 459c968784
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 9 additions and 8 deletions

View File

@ -87,6 +87,13 @@
}; };
}) })
]; ];
setHomeManagerVersions = ({ pkgs, config, unstable, ... }: {
home-manager.users.nathan.programs = {
starship.package = unstable.starship;
git.package = unstable.gitFull;
fish.package = unstable.fish;
};
});
baseHomeModules = [ baseHomeModules = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
@ -96,13 +103,7 @@
users.nathan = import ./home-manager/common.nix; users.nathan = import ./home-manager/common.nix;
}; };
} }
({ pkgs, config, unstable, ... }: { setHomeManagerVersions
home-manager.users.nathan.programs = {
starship.package = unstable.starship;
git.package = unstable.gitFull;
fish.package = unstable.fish;
};
})
./home.nix ./home.nix
]; ];
desktopModules = baseHomeModules ++ coreModules ++ [ desktopModules = baseHomeModules ++ coreModules ++ [
@ -261,8 +262,8 @@
modules = baseModules ++ [ modules = baseModules ++ [
./darwin-modules/base.nix ./darwin-modules/base.nix
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
baseHomeModules
./modules/fonts.nix ./modules/fonts.nix
./home.nix
./darwin-modules/gpg.nix ./darwin-modules/gpg.nix
./applications/devel-core.nix ./applications/devel-core.nix
./applications/devel-rust.nix ./applications/devel-rust.nix