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:
parent
b3db658dd0
commit
e11b4e9d61
|
@ -186,7 +186,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
boot.tmp.useTmpfs = true;
|
boot.tmp.useTmpfs = true;
|
||||||
systemd.services.nix-daemon.environment.TMPDIR = "/var/tmp";
|
systemd.services.nix-daemon.environment.TMPDIR = "/var/tmp";
|
||||||
|
|
|
@ -63,6 +63,7 @@ with lib.metacfg;
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
docker.enable = true;
|
docker.enable = true;
|
||||||
podman.dockerCompat = false;
|
podman.dockerCompat = false;
|
||||||
|
libvirtd.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
|
Loading…
Reference in a new issue