This commit is contained in:
2026-03-05 22:09:45 +01:00
parent f505504eec
commit 8c489c7eee
2 changed files with 12 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
security-sys-secureboot
security-sys-sopsnix
users-sys-mo
hypervisor-sys-virtualization
];
home-manager.users.mo.imports = with config.flake.homeModules; [
apps-usr-onepassword-all

View File

@@ -0,0 +1,11 @@
{ ... }: {
flake.nixosModules.hypervisor-sys-virtualization = { config, pkgs, ... }: {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
networking.firewall.trustedInterfaces = [ "virbr0" ];
environment.systemPackages = with pkgs; [
dnsmasq
];
users.users.mo.extraGroups = [ "libvirtd" ];
};
}