Enable spice-vdagent

This commit is contained in:
Mikhail Klementev 2018-07-12 17:43:42 +00:00
parent b124788960
commit b99319a2fe
3 changed files with 12 additions and 1 deletions

View file

@ -18,6 +18,8 @@
windowManager.default = "xmonad";
};
services.spice-vdagentd.enable = true;
users.extraUsers.user = {
isNormalUser = true;
extraGroups = [ "audio" ];
@ -29,7 +31,12 @@ import XMonad
main = xmonad defaultConfig
{ workspaces = [ "" ]
, borderWidth = 0
, startupHook = startup
}
startup :: X ()
startup = do
spawn "spice-vdagent"
'';
systemd.services.home-user-build-xmonad = {