Fix home-manager breakage
This commit is contained in:
parent
77d25ca4ca
commit
459c968784
17
flake.nix
17
flake.nix
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue