From d78f8c588d8c7fc6bb0484c16e14bc675e29705d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 2 Mar 2022 17:38:36 +0100 Subject: [PATCH] nixos/udisks2: enable polkit --- nixos/modules/services/hardware/udisks2.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/hardware/udisks2.nix b/nixos/modules/services/hardware/udisks2.nix index e898f3260585..6be23f39754e 100644 --- a/nixos/modules/services/hardware/udisks2.nix +++ b/nixos/modules/services/hardware/udisks2.nix @@ -32,6 +32,8 @@ with lib; environment.systemPackages = [ pkgs.udisks2 ]; + security.polkit.enable = true; + services.dbus.packages = [ pkgs.udisks2 ]; systemd.tmpfiles.rules = [ "d /var/lib/udisks2 0755 root root -" ];