{ pkgs, ... }: { # List services that you want to enable: services.spice-vdagentd.enable = true; services.spice-webdavd.enable = true; services.gvfs.enable = true; services.qemuGuest.enable = true; # Open ports in the firewall. networking.firewall.allowedTCPPorts = [ 9843 ]; environment.etc."xdg/autostart/spice-vdagent-custom.desktop".text = '' [Desktop Entry] Name=Spice vdagent Custom Comment=Startet das Clipboard für QEMU/Spice Exec=${pkgs.spice-vdagent}/bin/spice-vdagent Terminal=false Type=Application Categories=Network; StartupNotify=false X-GNOME-Autostart-enabled=true ''; }