enable: spice-vdagent if xserver is enable

This commit is contained in:
a-kenji 2024-03-12 16:30:20 +01:00 committed by kenji
parent acf1dace5c
commit 5d5f504013

View File

@ -24,6 +24,9 @@ let
services.acpid.handlers.power.event = "button/power.*";
services.acpid.handlers.power.action = "poweroff";
# only works on x11
services.spice-vdagentd.enable = config.services.xserver.enable;
boot.initrd.systemd.enable = true;
# currently needed for system.etc.overlay.enable