diff --git a/global.nix b/global.nix index 214e114d..21e1ac72 100644 --- a/global.nix +++ b/global.nix @@ -14,6 +14,19 @@ inetutils linuxPackages.usbip ]; + systemd.services.usbipd = { + description = "Custom service that runs usbipd"; + wantedBy = [ "multi-user.target" ]; + path = with pkgs; [ linuxPackages.usbip ]; + enable = true; + serviceConfig = { + User = "root"; + Group = "root"; + }; + script = " + usbipd + "; + }; # Set your time zone. time.timeZone = "Europe/London";