about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-21 14:06:31 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-21 15:55:50 +0200
commit5e364503d5b219e81c54e3616e3bf8e61a2cf1c7 (patch)
tree4c903180223a9fe4f5f43ac5389fddd0ba978a02 /nixos/modules/system
parent48601269a94456ae61b187ab48e5ba2d98d2ea0b (diff)
downloadnixlib-5e364503d5b219e81c54e3616e3bf8e61a2cf1c7.tar
nixlib-5e364503d5b219e81c54e3616e3bf8e61a2cf1c7.tar.gz
nixlib-5e364503d5b219e81c54e3616e3bf8e61a2cf1c7.tar.bz2
nixlib-5e364503d5b219e81c54e3616e3bf8e61a2cf1c7.tar.lz
nixlib-5e364503d5b219e81c54e3616e3bf8e61a2cf1c7.tar.xz
nixlib-5e364503d5b219e81c54e3616e3bf8e61a2cf1c7.tar.zst
nixlib-5e364503d5b219e81c54e3616e3bf8e61a2cf1c7.zip
NixOS ISO: Don't use a unionfs for /
We don't need a unionfs on /, we only need a tmpfs.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/stage-1.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index c38d33c45d6e..b6249b6c0915 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -344,5 +344,8 @@ in
       (isYes "BLK_DEV_INITRD")
     ];
 
+    # Prevent systemd from waiting for the /dev/root symlink.
+    systemd.units."dev-root.device".text = "";
+
   };
 }