diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-07-08 16:35:10 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-07-10 12:40:43 +0200 |
commit | 7b6510e455ee83f22aef8deb9ff493e944ffc901 (patch) | |
tree | 691eec1c018e84cd3c0922cb7a3948cce5a93035 /nixos | |
parent | d133362c185c9459d914d1a63f7ca512b142630c (diff) |
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
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/hardware/udisks2.nix | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/nixos/modules/services/hardware/udisks2.nix b/nixos/modules/services/hardware/udisks2.nix index ad5dc8e8a49b7..ed8703be921cb 100644 --- a/nixos/modules/services/hardware/udisks2.nix +++ b/nixos/modules/services/hardware/udisks2.nix @@ -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 ]; }; } |