mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
udisks2: use tmpfiles instead of activation script to create /var/lib/udisks2
This commit is contained in:
parent
ec6224b6cd
commit
36756e930f
@ -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 ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user