# main

uuid: b62351df86433093745d2d49f691d974f68adb11
text: boot.resumeDevice = "/dev/disk/by-uuid/<uuid-of-root-partition>"; powerManagement.enable = true;
mimetypes:
text/plain,text/plain;charset=utf-8,text/html,text/_moz_htmlcontext,text/_moz_htmlinfo,text/x-moz-url-priv


uuid: 10695ebe33a1bb1f8e29893a2093b2a386f5a523
mimetypes:
text/plain,text/plain;charset=utf-8,text/html,text/_moz_htmlcontext,text/_moz_htmlinfo,text/x-moz-url-priv

text:
services.power-profiles-daemon.enable = true;
  # Suspend first then hibernate when closing the lid
  services.logind.lidSwitch = "suspend-then-hibernate";
  # Hibernate on power button pressed
  services.logind.powerKey = "hibernate";
  services.logind.powerKeyLongPress = "poweroff";

  # Suspend first
  boot.kernelParams = ["mem_sleep_default=deep"];

  # Define time delay for hibernation
  systemd.sleep.extraConfig = ''
    HibernateDelaySec=30m
    SuspendState=mem
  '';


