Lots of stuff

This commit is contained in:
Vice 2025-03-05 06:34:39 -05:00
parent 9115983c81
commit c15fab234d
17 changed files with 10 additions and 86 deletions

View file

@ -3,7 +3,6 @@
imports = [
./apparmor
./earlyoom
./libvirtd
./snowflake
./ssh
./userborn

View file

@ -1,22 +0,0 @@
{ pkgs, ... }:
{
virtualisation.libvirtd = {
enable = false;
onBoot = "ignore";
onShutdown = "shutdown";
qemu = {
ovmf = {
enable = true;
packages = with pkgs; [ OVMFFull.fd ];
};
vhostUserPackages = with pkgs; [ virtiofsd ];
swtpm.enable = true;
};
};
# Needed to make NAT work
networking.firewall.trustedInterfaces = [
"virbr0"
"virbr1"
];
}