diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-02-20 12:45:06 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-02-20 12:45:06 +0100 |
commit | a80f480a382e56bcea659f4697b5cde4e5de584a (patch) | |
tree | 4f563f9e7035cb234e03b021db3c4748ebd49338 | |
parent | 7baa9c985dde5abe0a8c462172394f181b06b3b1 (diff) | |
download | nixos-a80f480a382e56bcea659f4697b5cde4e5de584a.tar nixos-a80f480a382e56bcea659f4697b5cde4e5de584a.tar.gz nixos-a80f480a382e56bcea659f4697b5cde4e5de584a.tar.bz2 nixos-a80f480a382e56bcea659f4697b5cde4e5de584a.tar.xz nixos-a80f480a382e56bcea659f4697b5cde4e5de584a.zip |
...
-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" ]; |