udisks2: use tmpfiles instead of activation script to create /var/lib/udisks2

This commit is contained in:
Florian Klink 2019-10-16 19:31:58 +02:00 committed by worldofpeace
parent ec6224b6cd
commit 36756e930f

View File

@ -34,10 +34,7 @@ with lib;
services.dbus.packages = [ pkgs.udisks2 ]; services.dbus.packages = [ pkgs.udisks2 ];
system.activationScripts.udisks2 = systemd.tmpfiles.rules = [ "d /var/lib/udisks2 0755 root root -" ];
''
mkdir -m 0755 -p /var/lib/udisks2
'';
services.udev.packages = [ pkgs.udisks2 ]; services.udev.packages = [ pkgs.udisks2 ];