From 8565cd862a614cc53a5798d398b8b11d98122ba0 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Thu, 14 Sep 2023 08:18:41 -0400 Subject: systemd: allow udev-trigger to run on lxd containers with nesting --- nixos/modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/system/boot/systemd.nix') diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index b6c3085c4f1..a4c387a8bb0 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -52,7 +52,7 @@ let "systemd-udevd-kernel.socket" "systemd-udevd.service" "systemd-udev-settle.service" - ] ++ (optional (!config.boot.isContainer) "systemd-udev-trigger.service") ++ [ + ] ++ (optional (!config.boot.isContainer || config.virtualisation.lxc.nestedContainer) "systemd-udev-trigger.service") ++ [ # hwdb.bin is managed by NixOS # "systemd-hwdb-update.service" -- cgit 1.4.1