virt changes including new NixVirt input

This commit is contained in:
Bryan Ramos 2025-01-27 16:23:01 -05:00
parent 3e6621fa2a
commit 01730af9ee
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
14 changed files with 341 additions and 30 deletions

View file

@ -60,14 +60,6 @@
};
};
virtualisation.libvirtd = {
enable = true;
qemu = {
runAsRoot = true;
ovmf.enable = true;
};
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}

View file

@ -1,5 +1,6 @@
{ pkgs, lib, config, ... }:
with lib;
{ system.stateVersion = "23.11";
users.users = {
@ -9,7 +10,7 @@
++ [ "video" "audio" "kvm" "libvirtd" "dialout" ];
openssh.authorizedKeys.keys = [
"${config.user.keys.ssh.primary}"
"${config.user.keys.ssh.ccur}"
"${config.user.keys.ssh.work}"
];
};
};
@ -98,6 +99,7 @@
"3.pool.ntp.org"
];
};
pipewire = {
enable = true;
audio.enable = true;
@ -109,6 +111,7 @@
alsa.enable = true;
alsa.support32Bit = true;
};
openssh = {
enable = true;
startWhenNeeded = false;