diff options
-rw-r--r-- | hel.nix | 6 | ||||
-rw-r--r-- | hel/boot.nix | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -510,8 +510,14 @@ | |||
510 | ]; | 510 | ]; |
511 | } | 511 | } |
512 | { where = "/tmp"; | 512 | { where = "/tmp"; |
513 | what = "tmpfs"; | ||
514 | type = "tmpfs"; | ||
513 | options = lib.concatStringsSep "," | 515 | options = lib.concatStringsSep "," |
514 | ["mode=1777" "strictatime" "nosuid" "nodev" "size=16G"]; | 516 | ["mode=1777" "strictatime" "nosuid" "nodev" "size=16G"]; |
517 | after = [ "swap.target" ]; | ||
518 | before = [ "local-fs.target" "umount.target" ]; | ||
519 | conflicts = [ "umount.target" ]; | ||
520 | wantedBy = [ "local-fs.target" ]; | ||
515 | } | 521 | } |
516 | ]; | 522 | ]; |
517 | 523 | ||
diff --git a/hel/boot.nix b/hel/boot.nix index 5320fcac..45fc5c2d 100644 --- a/hel/boot.nix +++ b/hel/boot.nix | |||
@@ -21,8 +21,6 @@ | |||
21 | enable = true; | 21 | enable = true; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | tmpOnTmpfs = true; | ||
25 | |||
26 | kernelParams = [ "intel_pstate=no_hwp" "quiet" ]; | 24 | kernelParams = [ "intel_pstate=no_hwp" "quiet" ]; |
27 | 25 | ||
28 | blacklistedKernelModules = [ "snd_soc_skl" ]; | 26 | blacklistedKernelModules = [ "snd_soc_skl" ]; |