From f5105acf6662c5c640d081c0d72cc48d1cb7aaf2 Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Fri, 30 Jun 2023 10:23:16 +0100 Subject: [PATCH] Move state version to common. --- hosts/common/compute-node.nix | 11 ----------- hosts/common/global/default.nix | 10 ++++++++++ 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/hosts/common/compute-node.nix b/hosts/common/compute-node.nix index 3b50079..ff4d2ea 100644 --- a/hosts/common/compute-node.nix +++ b/hosts/common/compute-node.nix @@ -31,15 +31,4 @@ environment.systemPackages = with pkgs; [ vim ]; - - system.copySystemConfiguration = false; # not supported with flakes - - # 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? } - diff --git a/hosts/common/global/default.nix b/hosts/common/global/default.nix index 68dfb9d..0e08e21 100644 --- a/hosts/common/global/default.nix +++ b/hosts/common/global/default.nix @@ -2,4 +2,14 @@ imports = [ ./locale.nix ]; + + system.copySystemConfiguration = false; # not supported with flakes + + # 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? }