diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2022-11-11 01:10:37 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2022-11-11 01:10:37 +0100 |
commit | d82f52519a3a9bd3bc646bb1c9fe380b802cc8fd (patch) | |
tree | 58fc2d2f92d28b1484645061e5db19e198f998d5 /nixos/modules/virtualisation | |
parent | 2a63e4f90282e9080efba2e1a96440f9ab4b42b0 (diff) |
nixos/libvirtd: always start libvirtd
Previously we did socket-activation but this breaks the autostart feature since upstream expects libvirtd to be started unconditionally on boot. Fixes #171623.
Diffstat (limited to 'nixos/modules/virtualisation')
-rw-r--r-- | nixos/modules/virtualisation/libvirtd.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/virtualisation/libvirtd.nix b/nixos/modules/virtualisation/libvirtd.nix index be6ebb3eacc99..3b30bc8c41658 100644 --- a/nixos/modules/virtualisation/libvirtd.nix +++ b/nixos/modules/virtualisation/libvirtd.nix @@ -336,6 +336,7 @@ in }; systemd.services.libvirtd = { + wantedBy = [ "multi-user.target" ]; requires = [ "libvirtd-config.service" ]; after = [ "libvirtd-config.service" ] ++ optional vswitch.enable "ovs-vswitchd.service"; |