Lots of stuff
This commit is contained in:
parent
9115983c81
commit
c15fab234d
17 changed files with 10 additions and 86 deletions
|
@ -3,7 +3,6 @@
|
|||
imports = [
|
||||
./apparmor
|
||||
./earlyoom
|
||||
./libvirtd
|
||||
./snowflake
|
||||
./ssh
|
||||
./userborn
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue