use tmpOnTmpfsSize

This commit is contained in:
Giulio De Pasquale 2021-12-08 16:45:21 +01:00
parent 56f36d711f
commit 05a4fa074b
2 changed files with 7 additions and 10 deletions

View File

@ -39,8 +39,10 @@ in {
services.fwupd.enable = true;
boot = {
kernelParams =
[ "ip=${architect-lan}::10.0.0.1:255.255.255.0::${wan-if}:off" "nvme_core.default_ps_max_latency_us=5500" ];
kernelParams = [
"ip=${architect-lan}::10.0.0.1:255.255.255.0::${wan-if}:off"
"nvme_core.default_ps_max_latency_us=5500"
];
kernel.sysctl."net.ipv4.ip_forward" = 1;
initrd = {
availableKernelModules = [ "igc" "r8169" ];
@ -70,6 +72,7 @@ in {
supportedFilesystems = [ "zfs" ];
zfs.requestEncryptionCredentials = true;
tmpOnTmpfsSize = "75%";
};
networking = {

View File

@ -42,12 +42,6 @@
fsType = "vfat";
};
fileSystems."/tmp" = {
fsType = "tmpfs";
device = "tmpfs";
options = [ "mode=1777" "strictatime" "rw" "nosuid" "nodev" "size=29G" ];
};
swapDevices = [{
device = "/dev/sdc1";
size = 100000;