Merge #157512: nixos/tmp: Fix format of /tmp mount options

This commit is contained in:
Vladimír Čunát 2022-02-17 16:26:01 +01:00
commit 9d09daa0a9
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -48,7 +48,12 @@ in
what = "tmpfs";
where = "/tmp";
type = "tmpfs";
mountConfig.Options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=${toString cfg.tmpOnTmpfsSize}" ];
mountConfig.Options = concatStringsSep "," [ "mode=1777"
"strictatime"
"rw"
"nosuid"
"nodev"
"size=${toString cfg.tmpOnTmpfsSize}" ];
}
];