From ca7b35d2d9c276cf08d9ca8248eae004f4e9d295 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Sat, 9 Jan 2021 15:32:17 +0100 Subject: [PATCH] modules/boot: Specify the type for tmpfs mounts https://github.com/NixOS/nixpkgs/pull/107497 broke booting on many systems that use tmpOnTmpfs due to the lack of specifying the mount type. This commit explicitly adds the mount type, which should fix booting such systems. The original change may want to be revisited however too. --- nixos/modules/system/boot/tmp.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/tmp.nix b/nixos/modules/system/boot/tmp.nix index 837e308cbea9..5bb299adb15f 100644 --- a/nixos/modules/system/boot/tmp.nix +++ b/nixos/modules/system/boot/tmp.nix @@ -34,6 +34,7 @@ with lib; { what = "tmpfs"; where = "/tmp"; + type = "tmpfs"; mountConfig.Options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=50%" ]; } ];