Fixed (hopefully) freezes of entire system because of suspend

Thanks Systemd
This commit is contained in:
Aleksandr Lebedev 2025-10-29 09:11:22 +01:00
parent ecdfd3fac4
commit a0fcd515e1
2 changed files with 17 additions and 1 deletions

View file

@ -12,7 +12,9 @@ in {
options.${namespace}.presets.default = with types; {
enable = mkBoolOpt false "Enable preset with all the default settings - locale, time, etc";
};
imports = [
./systemd-unfreeze.nix
];
config = mkIf cfg.enable {
zramSwap = {
enable = true; # Hopefully? helps with freezing when using swap