diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-09-26 02:00:41 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-09-26 02:04:54 +0200 |
commit | cb2f84e4d70772804d723b10cc2469bfcd658488 (patch) | |
tree | cb171dc30ae1ba3203d686af4761813f46809131 /nixos/modules/config/networking.nix | |
parent | f94ea04805845d1d98e2a9ff1342c3aad196d3a1 (diff) | |
download | nixlib-cb2f84e4d70772804d723b10cc2469bfcd658488.tar nixlib-cb2f84e4d70772804d723b10cc2469bfcd658488.tar.gz nixlib-cb2f84e4d70772804d723b10cc2469bfcd658488.tar.bz2 nixlib-cb2f84e4d70772804d723b10cc2469bfcd658488.tar.lz nixlib-cb2f84e4d70772804d723b10cc2469bfcd658488.tar.xz nixlib-cb2f84e4d70772804d723b10cc2469bfcd658488.tar.zst nixlib-cb2f84e4d70772804d723b10cc2469bfcd658488.zip |
nixos/activation: Rename "tmpfs" to "specialfs"
Using "tmpfs" as a script part for system.activationScripts is a bit misleading since 6efcfe03ae4ef426b77a6827243433b5296613a4. We no longer solely mount tmpfs within this script, so using "specialfs" fits more nicely in terms of naming. Tested against the "simple" NixOS installer test. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/modules/config/networking.nix')
-rw-r--r-- | nixos/modules/config/networking.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index aab5523c6848..952f62569c93 100644 --- a/nixos/modules/config/networking.nix +++ b/nixos/modules/config/networking.nix @@ -232,7 +232,7 @@ in # and other configurations. If the file is destroyed by an environment # activation then it must be rebuilt so that applications which interface # with /etc/resolv.conf directly don't break. - system.activationScripts.resolvconf = stringAfter [ "etc" "tmpfs" "var" ] + system.activationScripts.resolvconf = stringAfter [ "etc" "specialfs" "var" ] '' # Systemd resolved controls its own resolv.conf rm -f /run/resolvconf/interfaces/systemd |