summary refs log tree commit diff
path: root/nixos/release.nix
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-07-25 23:22:54 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2018-07-28 00:12:55 +0300
commit96190535e526bc1f7b8975d9f6f2f6493060203f (patch)
tree035be138fdceaef8294f7136a88b496ddf101050 /nixos/release.nix
parent28e11a0b6ba740aedcc8be27ff8ef334d187bd37 (diff)
downloadnixpkgs-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/release.nix')
-rw-r--r--nixos/release.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/release.nix b/nixos/release.nix
index dfa4ee9e127..09b0edcf9bd 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -198,7 +198,7 @@ in rec {
         modules = singleton ({ ... }:
           { fileSystems."/".device  = mkDefault "/dev/sda1";
             boot.loader.grub.device = mkDefault "/dev/sda";
-            system.nixos.stateVersion = mkDefault "18.03";
+            system.stateVersion = mkDefault "18.03";
           });
       }).config.system.build.toplevel;
       preferLocalBuild = true;