I’m trying to start xiccd as a user service, but starting the service always fails with the message:
systemctl status xiccd.service ~
● xiccd.service
Loaded: bad-setting (Reason: Unit xiccd.service has a bad unit file setting.)
Active: inactive (dead)
Nov 11 19:41:14 nefastis systemd[1]: xiccd.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.
This is in my configuration.nix
:
systemd.user.services.xiccd = {
description = "Xiccd Screen Color Profiler";
serviceConfig = {
ExecStart = "${pkgs.xiccd}/bin/xiccd";
ExecStop = "pkill xiccd";
Restart = "always";
};
wantedBy = [ "dbus.service" ];
after = [ "dbus.service" ];
partOf = [ "dbus.service" ];
};
systemd.services.xiccd.enable = true;