From 02054d12c7da7127c16e7827ccfbdc256598e15b Mon Sep 17 00:00:00 2001 From: Melvin Ragusa Date: Tue, 3 Feb 2026 02:53:16 +0100 Subject: [PATCH] update --- configuration.nix | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/configuration.nix b/configuration.nix index 6f7ba74..a8cd530 100644 --- a/configuration.nix +++ b/configuration.nix @@ -48,23 +48,6 @@ "amdgpu.ppfeaturemask=0xffffffff" # Full AMD GPU power features (from gpu-amd.nix) ]; - # ─── Full Disk Encryption (LUKS) ─── - boot.initrd.luks.devices = { - "cryptswap" = { - device = "/dev/mapper/cryptswap"; - allowDiscards = true; - keyFile = "/swap.key"; # Auto-unlock with keyfile after root is decrypted - }; - }; - - # Include swap keyfile in initrd (encrypted, only accessible during boot) - boot.initrd.secrets = { - "/swap.key" = /var/lib/secrets/swap.key; - }; - - # ─── Hibernation ─── - boot.resumeDevice = "/dev/mapper/cryptswap"; - # ─── Scheduler ─── # sched-ext scheduler for gaming performance services.scx.enable = true;