From fe52a0b4c9892ff33337b723b24672ee4c3a4c2b Mon Sep 17 00:00:00 2001 From: Melvin Ragusa Date: Tue, 3 Feb 2026 09:58:26 +0100 Subject: [PATCH] cryptswap fix hopefully --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index bfde66f..0ca194f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,7 +22,7 @@ ./modules/apps.nix # User applications ./modules/dev.nix # Docker, dev tools ./modules/theming.nix # Fonts, themes, cursors -# ./modules/virtualization.nix # QEMU, KVM, virt-manager + # ./modules/virtualization.nix # QEMU, KVM, virt-manager ./modules/power.nix # Power management, CPU governors ./modules/shell.nix # Fish shell configuration ./modules/services.nix # System services (fstrim, zram, avahi, psd) @@ -53,6 +53,10 @@ services.scx.enable = true; services.scx.scheduler = "scx_lavd"; # Low-latency scheduler, good for gaming + # ─── Hibernation ─── + # Resume from encrypted swap (cryptswap must be unlocked before resume) + boot.resumeDevice = "/dev/mapper/cryptswap"; + # ═══════════════════════════════════════════════════════════════ # NETWORKING # ═══════════════════════════════════════════════════════════════