Update from master 2023-09-24T01:03+00:00
This commit is contained in:
commit
ea054a0b2d
@ -1,7 +1,7 @@
|
||||
{ lib, config, ... }:
|
||||
|
||||
{
|
||||
boot.resumeDevice = (lib.head config.swapDevices).device;
|
||||
boot.resumeDevice = lib.optionalString ((lib.length config.swapDevices) > 0) (lib.head config.swapDevices).device;
|
||||
services.logind = {
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
};
|
||||
|
@ -4,6 +4,9 @@
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../configuration/desktop
|
||||
|
||||
./initrd.nix
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user