use tmpOnTmpfsSize
This commit is contained in:
parent
56f36d711f
commit
05a4fa074b
@ -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 = {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user