nixos/udisks2: use upstream unit
Simplifies the module and gets rid of the following error: The --no-debug option is deprecated and ignored. See '--help
This commit is contained in:
parent
d133362c18
commit
7b6510e455
|
@ -40,15 +40,8 @@ with lib;
|
|||
'';
|
||||
|
||||
services.udev.packages = [ pkgs.udisks2 ];
|
||||
|
||||
systemd.services.udisks2 = {
|
||||
description = "Udisks2 service";
|
||||
serviceConfig = {
|
||||
Type = "dbus";
|
||||
BusName = "org.freedesktop.UDisks2";
|
||||
ExecStart = "${pkgs.udisks2}/libexec/udisks2/udisksd --no-debug";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.packages = [ pkgs.udisks2 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue