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/programs | |
parent | 28e11a0b6ba740aedcc8be27ff8ef334d187bd37 (diff) | |
download | nixlib-96190535e526bc1f7b8975d9f6f2f6493060203f.tar nixlib-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.gz nixlib-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.bz2 nixlib-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.lz nixlib-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.xz nixlib-96190535e526bc1f7b8975d9f6f2f6493060203f.tar.zst nixlib-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/programs')
-rw-r--r-- | nixos/modules/programs/shell.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/shell.nix b/nixos/modules/programs/shell.nix index 3b5212c9e76b..944a8bdf16fc 100644 --- a/nixos/modules/programs/shell.nix +++ b/nixos/modules/programs/shell.nix @@ -34,7 +34,7 @@ with lib; # Subscribe the root user to the NixOS channel by default. if [ "$USER" = root -a ! -e "$HOME/.nix-channels" ]; then - echo "${config.system.nixos.defaultChannel} nixos" > "$HOME/.nix-channels" + echo "${config.system.defaultChannel} nixos" > "$HOME/.nix-channels" fi # Create the per-user garbage collector roots directory. |