dumpyourvms: make use of new option pub-solar...
core.hibernation to configure hibernation
This commit is contained in:
parent
9a7e53ab59
commit
ae01ed16b8
|
@ -16,14 +16,21 @@ in
|
||||||
owner = "teutat3s";
|
owner = "teutat3s";
|
||||||
};
|
};
|
||||||
|
|
||||||
pub-solar.virtualisation.enable = true;
|
pub-solar = {
|
||||||
pub-solar.audio.mopidy.enable = lib.mkForce false;
|
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,
|
# fix backlight for keyboard and brightness, adjust function key binding,
|
||||||
# intel_pstate for cpu schedutil, resume offset for swapfile, disable amdgpu driver
|
# 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.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.resumeDevice = "/dev/mapper/cryptroot";
|
#boot.resumeDevice = "/dev/mapper/cryptroot";
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue