mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
udisks2: use tmpfiles instead of activation script to create /var/lib/udisks2
This commit is contained in:
parent
b04b354e2c
commit
e397b949a9
@ -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