Commit fc7aea93 authored by sohalt's avatar sohalt
Browse files

nixos/spacenavd: add wantedBy for automatic startup

nixos currently does not respect the WantedBy directive from
the upstream service file (https://github.com/NixOS/nixpkgs/issues/81138)
parent 23f98b65
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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" ];
      };
    };
  };
}