Merge #157512: nixos/tmp: Fix format of /tmp mount options
This commit is contained in:
commit
9d09daa0a9
|
@ -48,7 +48,12 @@ in
|
||||||
what = "tmpfs";
|
what = "tmpfs";
|
||||||
where = "/tmp";
|
where = "/tmp";
|
||||||
type = "tmpfs";
|
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}" ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue