From 10f128dd6958bedbca4779fc762134d97863cc18 Mon Sep 17 00:00:00 2001 From: chn Date: Fri, 23 Jun 2023 13:00:36 +0800 Subject: [PATCH] disable reuse phases --- modules/filesystem/chn-PC.nix | 1 + modules/hardware/chn-PC.nix | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filesystem/chn-PC.nix b/modules/filesystem/chn-PC.nix index f46fbf01..87dd6929 100644 --- a/modules/filesystem/chn-PC.nix +++ b/modules/filesystem/chn-PC.nix @@ -55,6 +55,7 @@ # cryptsetup luksOpen --test-passphrase --key-slot 0 /dev/sda2 # cryptsetup luksKillSlot /dev/sdb1 2 yubikeySupport = true; + reusePassphrases = false; devices.root = { device = "/dev/disk/by-uuid/55fdd19f-0f1d-4c37-bd4e-6df44fc31f26"; diff --git a/modules/hardware/chn-PC.nix b/modules/hardware/chn-PC.nix index 7c3a4f65..d6e638dd 100644 --- a/modules/hardware/chn-PC.nix +++ b/modules/hardware/chn-PC.nix @@ -43,7 +43,6 @@ { "net.core.rmem_max" = 67108864; "net.core.wmem_max" = 67108864; - # check "net.ipv4.tcp_rmem" = "4096 87380 67108864"; "net.ipv4.tcp_wmem" = "4096 65536 67108864"; "net.ipv4.tcp_mtu_probing" = true;