summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-23 17:20:54 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-23 17:20:54 +0200
commit9136eb16da9269792bf85b2b31a3ebc4e503cd42 (patch)
tree609eba9bc28c02455e71e5c4e69963f29e71b674
parent217ec21c0ca113a78e35a0c4ca7538abfb856029 (diff)
downloadnixos-9136eb16da9269792bf85b2b31a3ebc4e503cd42.tar
nixos-9136eb16da9269792bf85b2b31a3ebc4e503cd42.tar.gz
nixos-9136eb16da9269792bf85b2b31a3ebc4e503cd42.tar.bz2
nixos-9136eb16da9269792bf85b2b31a3ebc4e503cd42.tar.xz
nixos-9136eb16da9269792bf85b2b31a3ebc4e503cd42.zip
tmpontmpfs
-rw-r--r--ymir.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/ymir.nix b/ymir.nix
index 09997a56..b4590736 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -52,6 +52,8 @@ in rec {
52 device = "/dev/vda"; 52 device = "/dev/vda";
53 }; 53 };
54 54
55 boot.tmpOnTmpfs = true;
56
55 boot.kernel.sysctl = { 57 boot.kernel.sysctl = {
56 "net.ipv4.tcp_keepalive_time" = 60; 58 "net.ipv4.tcp_keepalive_time" = 60;
57 "net.ipv4.tcp_keepalive_intvl" = 10; 59 "net.ipv4.tcp_keepalive_intvl" = 10;