1
0

hosts/zinc: enable gnome desktop

This commit is contained in:
clerie 2023-09-23 17:55:26 +02:00
parent 04638f4edf
commit 9d310e9e8f
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ lib, config, ... }: { 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 = { services.logind = {
lidSwitch = "suspend-then-hibernate"; lidSwitch = "suspend-then-hibernate";
}; };

View File

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