Add hibernation to yoga

This commit is contained in:
Natsu Kagami 2024-05-07 19:30:13 +02:00
parent 5c9cde7f87
commit 9d0116cc7d
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -13,6 +13,11 @@
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.kernelParams = [
# Hibernation
"resume=UUID=b32d27bf-9df6-43c1-8b93-c0693811bf5b"
"resume_offset=9731998" # btrfs inspect-internal map-swapfile -r /var/swapfile
];
fileSystems."/" = fileSystems."/" =
{ {