nixos/spacenavd: start as system service

This is the configuration supported by upstream.
This commit is contained in:
Gabriel Ebner 2021-04-02 16:27:06 +02:00
parent 155f034b62
commit 295acf0460

View File

@ -13,7 +13,7 @@ in {
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
systemd.user.services.spacenavd = { systemd.services.spacenavd = {
description = "Daemon for the Spacenavigator 6DOF mice by 3Dconnexion"; description = "Daemon for the Spacenavigator 6DOF mice by 3Dconnexion";
after = [ "syslog.target" ]; after = [ "syslog.target" ];
wantedBy = [ "graphical.target" ]; wantedBy = [ "graphical.target" ];