updates and virtualization enhancements

This commit is contained in:
Rouven Seifert 2023-11-24 09:19:06 +01:00
parent 614bf653df
commit 70a6695ca1
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 28 additions and 31 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ pkgs, config, ... }:
{
imports = [ ./uni.nix ];
@ -16,6 +16,14 @@
};
};
environment.systemPackages = with pkgs; [
mtr
whois
inetutils
openssl
wget
dnsutils
];
services.lldpd.enable = true;
services.resolved = {
fallbackDns = [

View file

@ -54,9 +54,16 @@
# in
{
boot.kernelParams = [ "intel_iommu=on" ];
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
# boot.kernelParams = [ "intel_iommu=on" ];
virtualisation = {
libvirtd = {
enable = true;
qemu = {
runAsRoot = false;
};
};
spiceUSBRedirection.enable = true;
};
# fix to enable secure boot in vms
environment.etc = {