feat(virtualisation): update libvirtd enablement logic

- Disable libvirtd explicitly in m4nix configuration.
- Use `lib.mkDefault` for libvirtd enablement in base services to allow overrides.
This commit is contained in:
Harald Hoyer 2025-01-21 15:35:23 +01:00
parent b3db658dd0
commit e11b4e9d61
2 changed files with 2 additions and 1 deletions

View file

@ -186,7 +186,7 @@ in
};
};
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.enable = lib.mkDefault true;
boot.tmp.useTmpfs = true;
systemd.services.nix-daemon.environment.TMPDIR = "/var/tmp";

View file

@ -63,6 +63,7 @@ with lib.metacfg;
virtualisation = {
docker.enable = true;
podman.dockerCompat = false;
libvirtd.enable = false;
};
system.autoUpgrade = {