Usbipd service
This commit is contained in:
parent
1a2d5cedc0
commit
3363a9672b
13
global.nix
13
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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue