cryptswap fix hopefully

This commit is contained in:
Melvin Ragusa
2026-02-03 09:58:26 +01:00
parent 1d9f6c5401
commit fe52a0b4c9

View File

@@ -22,7 +22,7 @@
./modules/apps.nix # User applications ./modules/apps.nix # User applications
./modules/dev.nix # Docker, dev tools ./modules/dev.nix # Docker, dev tools
./modules/theming.nix # Fonts, themes, cursors ./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/power.nix # Power management, CPU governors
./modules/shell.nix # Fish shell configuration ./modules/shell.nix # Fish shell configuration
./modules/services.nix # System services (fstrim, zram, avahi, psd) ./modules/services.nix # System services (fstrim, zram, avahi, psd)
@@ -53,6 +53,10 @@
services.scx.enable = true; services.scx.enable = true;
services.scx.scheduler = "scx_lavd"; # Low-latency scheduler, good for gaming 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 # NETWORKING
# ═══════════════════════════════════════════════════════════════ # ═══════════════════════════════════════════════════════════════