diff --git a/hosts/dumpyourvms/dumpyourvms.nix b/hosts/dumpyourvms/dumpyourvms.nix index 78dc19ce..2e608582 100644 --- a/hosts/dumpyourvms/dumpyourvms.nix +++ b/hosts/dumpyourvms/dumpyourvms.nix @@ -16,14 +16,21 @@ in owner = "teutat3s"; }; - pub-solar.virtualisation.enable = true; - pub-solar.audio.mopidy.enable = lib.mkForce false; + pub-solar = { + audio.mopidy.enable = lib.mkForce false; + core.hibernation = { + enable = true; + resumeDevice = "/dev/mapper/cryptroot"; + resumeOffset = 47366144; + }; + virtualisation.enable = true; + }; # fix backlight for keyboard and brightness, adjust function key binding, # intel_pstate for cpu schedutil, resume offset for swapfile, disable amdgpu driver - boot.kernelParams = [ "acpi_backlight=video" "hid_apple.fnmode=2" "intel_pstate=passive" "resume_offset=47366144" ]; + boot.kernelParams = [ "acpi_backlight=video" "hid_apple.fnmode=2" "intel_pstate=passive" ]; boot.loader.efi.canTouchEfiVariables = true; - boot.resumeDevice = "/dev/mapper/cryptroot"; + #boot.resumeDevice = "/dev/mapper/cryptroot"; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];