1
0
Fork 0

Update from master 2023-09-24T01:03+00:00

This commit is contained in:
Flake Update Bot 2023-09-24 03:03:02 +02:00
commit ea054a0b2d
2 changed files with 4 additions and 1 deletions

View File

@ -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";
};

View File

@ -4,6 +4,9 @@
imports =
[
./hardware-configuration.nix
../../configuration/desktop
./initrd.nix
];