summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2018-09-30 11:05:47 -0700
committerJamey Sharp <jamey@minilop.net>2018-09-30 11:05:47 -0700
commitbbc0f6f005fa856d914711149838d2f75f9fe41b (patch)
treed2b90a7a65ee67a45bfc0f21183d968d7777ba53 /nixos/modules
parent10e865051548f39e8bff205ea09a648c49304d11 (diff)
downloadnixlib-bbc0f6f005fa856d914711149838d2f75f9fe41b.tar
nixlib-bbc0f6f005fa856d914711149838d2f75f9fe41b.tar.gz
nixlib-bbc0f6f005fa856d914711149838d2f75f9fe41b.tar.bz2
nixlib-bbc0f6f005fa856d914711149838d2f75f9fe41b.tar.lz
nixlib-bbc0f6f005fa856d914711149838d2f75f9fe41b.tar.xz
nixlib-bbc0f6f005fa856d914711149838d2f75f9fe41b.tar.zst
nixlib-bbc0f6f005fa856d914711149838d2f75f9fe41b.zip
nixos/systemd: don't create /var/lib/udev
As far as I can tell, systemd has never used this directory, so I think
this is a holdover from before udev merged into systemd.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/system/boot/systemd.nix5
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index c0d1bd750655..f1b8878d04e1 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -784,11 +784,6 @@ in
 
     services.dbus.enable = true;
 
-    system.activationScripts.systemd =
-      ''
-        mkdir -m 0755 -p /var/lib/udev
-      '';
-
     users.users.systemd-network.uid = config.ids.uids.systemd-network;
     users.groups.systemd-network.gid = config.ids.gids.systemd-network;
     users.users.systemd-resolve.uid = config.ids.uids.systemd-resolve;