From e8f897d76c821548e889823d0431d831f76f187a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Thu, 22 Jun 2023 20:08:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20(hosts)=20move=20system.stateVer?= =?UTF-8?q?sion=20inside=20system's=20default.nix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hydrogen/default.nix | 8 -------- hosts/hydrogen/system/default.nix | 12 +++++++++++- hosts/neodymium/default.nix | 8 -------- hosts/neodymium/system/default.nix | 8 ++++++++ 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/hosts/hydrogen/default.nix b/hosts/hydrogen/default.nix index 1954b6f..0aac3c3 100644 --- a/hosts/hydrogen/default.nix +++ b/hosts/hydrogen/default.nix @@ -6,12 +6,4 @@ ./services ./system ]; - - # 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/hydrogen/system/default.nix b/hosts/hydrogen/system/default.nix index 04c6657..3a8c746 100644 --- a/hosts/hydrogen/system/default.nix +++ b/hosts/hydrogen/system/default.nix @@ -1 +1,11 @@ -{ ... }: { imports = [ ./networking ./packages ./users ]; } +{ ... }: { + # 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? + + imports = [ ./networking ./packages ./users ]; +} diff --git a/hosts/neodymium/default.nix b/hosts/neodymium/default.nix index efce23a..e4b8371 100644 --- a/hosts/neodymium/default.nix +++ b/hosts/neodymium/default.nix @@ -17,12 +17,4 @@ # enable gnome virtual file system services.gvfs.enable = true; - - # 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/neodymium/system/default.nix b/hosts/neodymium/system/default.nix index eb1d666..e6adb36 100644 --- a/hosts/neodymium/system/default.nix +++ b/hosts/neodymium/system/default.nix @@ -1,4 +1,12 @@ { ... }: { + # 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? + imports = [ ./adb ./age