From 43ba0271aa8e16a8587e44fc63c7b59f78df71fd Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 21 May 2024 15:15:01 +0200 Subject: [PATCH] core: move system.stateVersion to hosts --- hosts/main.nix | 4 ++++ nix-os/core.nix | 9 --------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/hosts/main.nix b/hosts/main.nix index 49a9b8f..81c2d7a 100644 --- a/hosts/main.nix +++ b/hosts/main.nix @@ -22,4 +22,8 @@ ../nix-os/xdg-default-apps.nix ../nix-os/services/nix-binary-cache.nix ]; + + config = { + system.stateVersion = "23.05"; + }; } \ No newline at end of file diff --git a/nix-os/core.nix b/nix-os/core.nix index 4208c2c..b024239 100644 --- a/nix-os/core.nix +++ b/nix-os/core.nix @@ -117,13 +117,4 @@ # Disable firewall networking.firewall.enable = false; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It's perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "23.05"; # Did you read the comment? - # I am lazy }