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
@ -41,14 +41,7 @@ with lib;
|
|||||||
|
|
||||||
services.udev.packages = [ pkgs.udisks2 ];
|
services.udev.packages = [ pkgs.udisks2 ];
|
||||||
|
|
||||||
systemd.services.udisks2 = {
|
systemd.packages = [ pkgs.udisks2 ];
|
||||||
description = "Udisks2 service";
|
|
||||||
serviceConfig = {
|
|
||||||
Type = "dbus";
|
|
||||||
BusName = "org.freedesktop.UDisks2";
|
|
||||||
ExecStart = "${pkgs.udisks2}/libexec/udisks2/udisksd --no-debug";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user