feat(probook): virtiofs & vm networking
This commit is contained in:
parent
c5e9e051ca
commit
75b64379be
1 changed files with 13 additions and 7 deletions
|
@ -48,12 +48,15 @@ in
|
|||
];
|
||||
}
|
||||
];
|
||||
networking.networkmanager = {
|
||||
enable = true;
|
||||
unmanaged = [
|
||||
"enp2s0"
|
||||
"wg0"
|
||||
];
|
||||
networking = {
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
unmanaged = [
|
||||
"enp2s0"
|
||||
"wg0"
|
||||
];
|
||||
};
|
||||
firewall.allowedUDPPorts = [ 67 53 ];
|
||||
};
|
||||
systemd.tmpfiles.rules = [
|
||||
"w /sys/devices/system/cpu/cpufreq/policy*/scaling_governor - - - - performance"
|
||||
|
@ -187,7 +190,10 @@ in
|
|||
"catvayor".kat.work-tooling = true;
|
||||
};
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue