mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
virt changes including new NixVirt input
This commit is contained in:
parent
3e6621fa2a
commit
01730af9ee
14 changed files with 341 additions and 30 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue