1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

change home-manager's state version (don't do that at home)

This commit is contained in:
andrey_varnavskiy
2024-11-30 09:19:11 +05:00
parent 138e5005e1
commit 180a5da727
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
outputs = { self, nixpkgs, home-manager, ... }@inputs: let
system = "x86_64-linux";
stateVersion = "24.05";
homeStateVersion = "24.11";
user = "amper";
hosts = [
{ hostname = "slim3"; stateVersion = "24.05"; }
@@ -48,7 +48,7 @@
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
extraSpecialArgs = {
inherit inputs stateVersion user;
inherit inputs homeStateVersion user;
};
modules = [

View File

@@ -1,4 +1,4 @@
{ stateVersion, user, ... }: {
{ homeStateVersion, user, ... }: {
imports = [
./modules
];
@@ -6,6 +6,6 @@
home = {
username = user;
homeDirectory = "/home/${user}";
stateVersion = stateVersion;
stateVersion = homeStateVersion;
};
}