Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
nixos/udisks2: use upstream unit
Browse files Browse the repository at this point in the history
Simplifies the module and gets rid of the following error:

The --no-debug option is deprecated and ignored. See '--help
  • Loading branch information
jtojnar committed Jul 10, 2018
1 parent d133362 commit 7b6510e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions nixos/modules/services/hardware/udisks2.nix
Expand Up @@ -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 ];
};

}

0 comments on commit 7b6510e

Please sign in to comment.