Skip to content

Commit 2ce3014

Browse files
nixos/spacenavd: add wantedBy for automatic startup (#366768)
2 parents 3b54ebc + fc7aea9 commit 2ce3014

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nixos/modules/services/hardware/spacenavd.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ in
1717
config = lib.mkIf cfg.enable {
1818
systemd = {
1919
packages = [ pkgs.spacenavd ];
20-
services.spacenavd.enable = true;
20+
services.spacenavd = {
21+
enable = true;
22+
wantedBy = [ "graphical.target" ];
23+
};
2124
};
2225
};
2326
}

0 commit comments

Comments
 (0)