1 { config, pkgs, lib, ... }:
5 cfg = config.services.spice-vdagentd;
9 services.spice-vdagentd = {
10 enable = mkEnableOption "Spice guest vdagent daemon";
14 config = mkIf cfg.enable {
16 environment.systemPackages = [ pkgs.spice-vdagent ];
18 systemd.services.spice-vdagentd = {
19 description = "spice-vdagent daemon";
20 wantedBy = [ "graphical.target" ];
22 mkdir -p "/run/spice-vdagentd/"
26 ExecStart = "${pkgs.spice-vdagent}/bin/spice-vdagentd";