Make system state version linux specific

This commit is contained in:
Nathan McCarty 2022-05-25 19:36:16 -04:00
parent a8cae15240
commit fa87638614
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 5 additions and 2 deletions

View File

@ -79,8 +79,6 @@
};
# Setup overlays
nixpkgs.overlays = [ emacs.overlay polymc.overlay ];
# System state version for compat
system.stateVersion = "21.11";
})
];
sopsModules = [
@ -97,6 +95,11 @@
./modules/common.nix
./modules/ssh.nix
home-manager.nixosModules.home-manager
# Configure system state version for linux
({ pkgs, ... }: {
# System state version for compat
system.stateVersion = "21.11";
})
];
setHomeManagerVersions = ({ pkgs, config, unstable, ... }: {
home-manager.users.nathan.programs = {