Skip to content

Commit

Permalink
nixos/spacenavd: add wantedBy for automatic startup
Browse files Browse the repository at this point in the history
nixos currently does not respect the WantedBy directive from
the upstream service file (NixOS#81138)
  • Loading branch information
Sohalt committed Dec 21, 2024
1 parent 99ec634 commit 4838207
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/modules/services/hardware/spacenavd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ in
config = lib.mkIf cfg.enable {
systemd = {
packages = [ pkgs.spacenavd ];
services.spacenavd.enable = true;
services.spacenavd = {
enable = true;
wantedBy = [ "graphical.target" ];
};
};
};
}

0 comments on commit 4838207

Please sign in to comment.