From 5e636daa555b86b8743f5d97663c62db51e7464b Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Wed, 9 Jul 2025 00:37:54 +0200 Subject: [PATCH] System: Move stateVersion into corresponding host-specific configs --- system/default.nix | 9 --------- system/nixinator/default.nix | 9 +++++++++ system/nixtop/default.nix | 9 +++++++++ 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/system/default.nix b/system/default.nix index 213086d9..80829a1f 100644 --- a/system/default.nix +++ b/system/default.nix @@ -382,13 +382,4 @@ with mylib.networking; { ''; }; }; - - # The current system was installed on 22.05, do not change. - # 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 = "22.05"; # Did you read the comment? } diff --git a/system/nixinator/default.nix b/system/nixinator/default.nix index 411317ce..d067d946 100644 --- a/system/nixinator/default.nix +++ b/system/nixinator/default.nix @@ -131,4 +131,13 @@ videoDrivers = ["nvidia"]; # NVIDIA }; }; + + # The current system was installed on 22.05, do not change. + # 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 = "22.05"; # Did you read the comment? } diff --git a/system/nixtop/default.nix b/system/nixtop/default.nix index d9d3d634..bfe161bb 100644 --- a/system/nixtop/default.nix +++ b/system/nixtop/default.nix @@ -37,4 +37,13 @@ # Proprietary graphics drivers videoDrivers = ["intel"]; }; + + # The current system was installed on 22.05, do not change. + # 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 = "22.05"; # Did you read the comment? }