mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +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 ];
|
||||
|
||||
system.activationScripts.udisks2 =
|
||||
''
|
||||
mkdir -m 0755 -p /var/lib/udisks2
|
||||
'';
|
||||
systemd.tmpfiles.rules = [ "d /var/lib/udisks2 0755 root root -" ];
|
||||
|
||||
services.udev.packages = [ pkgs.udisks2 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user