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:
Jan Tojnar 2018-07-08 16:35:10 +02:00
parent d133362c18
commit 7b6510e455
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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 ];
};
}