nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1

This commit is contained in:
Jan Malakhovski
2018-04-06 01:19:06 +00:00
parent b0d29e7e17
commit 095fe5b43d
15 changed files with 29 additions and 27 deletions

View File

@@ -40,7 +40,7 @@ in
# Subscribe the root user to the NixOS channel by default.
if [ "$USER" = root -a ! -e $HOME/.nix-channels ]; then
echo "${config.system.defaultChannel} nixos" > $HOME/.nix-channels
echo "${config.system.nixos.defaultChannel} nixos" > $HOME/.nix-channels
fi
# Create the per-user garbage collector roots directory.