diff --git a/modules/services/hardware/udisks.nix b/modules/services/hardware/udisks.nix index 4a97dae7fa00..8d526e22bad1 100644 --- a/modules/services/hardware/udisks.nix +++ b/modules/services/hardware/udisks.nix @@ -33,6 +33,11 @@ with pkgs.lib; services.dbus.packages = [ pkgs.udisks ]; + system.activationScripts.udisks = + '' + mkdir -m 0755 -p /var/lib/udisks + ''; + }; }