From 13259157a2b8729d2f6474d60b5e5a6649948a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Fri, 21 Mar 2025 19:14:43 +0100 Subject: [PATCH] fix(modules/hm): don't set stateVersion Prefer setting it on the configuration. Also bump the example-vm to stateVersion 24.11. --- example-vm/default.nix | 1 + modules/hm/default.nix | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/example-vm/default.nix b/example-vm/default.nix index 89ed84e..ab7a40b 100644 --- a/example-vm/default.nix +++ b/example-vm/default.nix @@ -16,6 +16,7 @@ home = { username = "jdoe"; homeDirectory = "/home/jdoe"; + stateVersion = "24.11"; }; jhome = { enable = true; diff --git a/modules/hm/default.nix b/modules/hm/default.nix index e98a2a6..4332866 100644 --- a/modules/hm/default.nix +++ b/modules/hm/default.nix @@ -108,8 +108,6 @@ in }; home = { - stateVersion = "22.11"; - # Extra packages # Extra variables sessionVariables = { CARGO_HOME = "${config.xdg.dataHome}/cargo";