summary refs log tree commit diff
path: root/nixos/modules/services/hardware
diff options
context:
space:
mode:
authorsohalt <sohalt@sohalt.net>2021-04-05 18:44:06 +0200
committerGabriel Ebner <gebner@gebner.org>2021-05-22 12:48:12 +0200
commitbe01cb8b97bc0e449e44da7a79e1dabde204fd8c (patch)
treea3f7478a8b3c1d4c60891c3646c53f9ec2acf1a3 /nixos/modules/services/hardware
parentf8ed8033855bf07bd646485614f549f3d79e3cbd (diff)
downloadnixpkgs-be01cb8b97bc0e449e44da7a79e1dabde204fd8c.tar
nixpkgs-be01cb8b97bc0e449e44da7a79e1dabde204fd8c.tar.gz
nixpkgs-be01cb8b97bc0e449e44da7a79e1dabde204fd8c.tar.bz2
nixpkgs-be01cb8b97bc0e449e44da7a79e1dabde204fd8c.tar.lz
nixpkgs-be01cb8b97bc0e449e44da7a79e1dabde204fd8c.tar.xz
nixpkgs-be01cb8b97bc0e449e44da7a79e1dabde204fd8c.tar.zst
nixpkgs-be01cb8b97bc0e449e44da7a79e1dabde204fd8c.zip
nixos/spacenavd: run as user service
Diffstat (limited to 'nixos/modules/services/hardware')
-rw-r--r--nixos/modules/services/hardware/spacenavd.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/hardware/spacenavd.nix b/nixos/modules/services/hardware/spacenavd.nix
index cecc4d6f029..74725dd23d2 100644
--- a/nixos/modules/services/hardware/spacenavd.nix
+++ b/nixos/modules/services/hardware/spacenavd.nix
@@ -13,13 +13,12 @@ in {
   };
 
   config = mkIf cfg.enable {
-    systemd.services.spacenavd = {
+    systemd.user.services.spacenavd = {
       description = "Daemon for the Spacenavigator 6DOF mice by 3Dconnexion";
       after = [ "syslog.target" ];
       wantedBy = [ "graphical.target" ];
       serviceConfig = {
         ExecStart = "${pkgs.spacenavd}/bin/spacenavd -d -l syslog";
-        StandardError = "syslog";
       };
     };
   };