diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-07-25 23:22:54 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2018-07-28 00:12:55 +0300 |
commit | 96190535e526bc1f7b8975d9f6f2f6493060203f (patch) | |
tree | 035be138fdceaef8294f7136a88b496ddf101050 /nixos/modules/installer | |
parent | 28e11a0b6ba740aedcc8be27ff8ef334d187bd37 (diff) | |
download | nixpkgs-96190535e526bc1f7b8975d9f6f2f6493060203f.tar nixpkgs-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.gz nixpkgs-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.bz2 nixpkgs-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.lz nixpkgs-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.xz nixpkgs-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.zst nixpkgs-96190535e526bc1f7b8975d9f6f2f6493060203f.zip |
Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1"
This reverts commit 095fe5b43def40279a243e663c662b02caac5318. Pointless renames considered harmful. All they do is force people to spend extra work updating their configs for no benefit, and hindering the ability to switch between unstable and stable versions of NixOS. Like, what was the value of having the "nixos." there? I mean, by definition anything in a NixOS module has something to do with NixOS...
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/cd-dvd/installation-cd-base.nix | 2 | ||||
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 2 | ||||
-rw-r--r-- | nixos/modules/installer/virtualbox-demo.nix | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-base.nix index 298b8d88bb5..36024ce9f45 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-base.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-base.nix @@ -32,5 +32,5 @@ with lib; # Allow the user to log in as root without a password. users.users.root.initialHashedPassword = ""; - system.nixos.stateVersion = mkDefault "18.03"; + system.stateVersion = mkDefault "18.03"; } diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index 16556691240..cbe145d5a33 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -628,7 +628,7 @@ $bootLoaderConfig # compatible, in order to avoid breaking some software such as database # servers. You should change this only after NixOS release notes say you # should. - system.nixos.stateVersion = "${\(qw(@release@))}"; # Did you read the comment? + system.stateVersion = "${\(qw(@release@))}"; # Did you read the comment? } EOF diff --git a/nixos/modules/installer/virtualbox-demo.nix b/nixos/modules/installer/virtualbox-demo.nix index f823c0d83bb..8ca3592f380 100644 --- a/nixos/modules/installer/virtualbox-demo.nix +++ b/nixos/modules/installer/virtualbox-demo.nix @@ -21,5 +21,5 @@ with lib; services.xserver.videoDrivers = mkOverride 40 [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ]; powerManagement.enable = false; - system.nixos.stateVersion = mkDefault "18.03"; + system.stateVersion = mkDefault "18.03"; } |