Force home state version

This commit is contained in:
Johannes Jöns 2023-02-24 16:07:55 +01:00
parent b9ca4faa64
commit 9a3adab408
2 changed files with 2 additions and 2 deletions

View file

@ -27,6 +27,6 @@ in
};
home-manager.users.jopejoe1 = import ./home.nix;
home-manager.users.jopejoe1.home.stateVersion = config.system.stateVersion;
home-manager.users.jopejoe1.home.stateVersion = mkForce config.system.stateVersion;
};
}

View file

@ -12,6 +12,6 @@ in
config = mkIf cfg.enable {
home-manager.users.root = import ./home.nix;
home-manager.users.root.home.stateVersion = config.system.stateVersion;
home-manager.users.root.home.stateVersion = mkForce config.system.stateVersion;
};
}