From 9a3adab408c8c45dd0d3c07ffa946787e67a3b8a Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Fri, 24 Feb 2023 16:07:55 +0100 Subject: [PATCH] Force home state version --- modules/user/jopejoe1/default.nix | 2 +- modules/user/root/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/user/jopejoe1/default.nix b/modules/user/jopejoe1/default.nix index ad5ca16..ad89fdf 100644 --- a/modules/user/jopejoe1/default.nix +++ b/modules/user/jopejoe1/default.nix @@ -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; }; } diff --git a/modules/user/root/default.nix b/modules/user/root/default.nix index 72c868f..c283ac6 100644 --- a/modules/user/root/default.nix +++ b/modules/user/root/default.nix @@ -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; }; }