Added KVM on bomba

This commit is contained in:
2026-02-05 23:09:30 +01:00
parent c20cfd6f57
commit 193d6c5411
4 changed files with 10 additions and 5 deletions

View File

@@ -1,4 +1,11 @@
{ currentSystemUser, ... }:
{ pkgs, ... }:
{
virtualisation.docker.enable = true;
virtualisation = {
docker.enable = true;
spiceUSBRedirection.enable = true;
libvirtd = {
enable = true;
package = pkgs.qemu_kvm;
};
};
}

View File

@@ -1,7 +1,6 @@
{ currentSystemUser, ... }:
{
programs.virt-manager.enable = true;
users.groups.libvirtd.members = ["${currentSystemUser}"];
virtualisation = {
docker.enable = true;
libvirtd.enable = true;

View File

@@ -1,7 +1,6 @@
{ currentSystemUser, ... }:
{
programs.virt-manager.enable = true;
users.groups.libvirtd.members = ["${currentSystemUser}"];
virtualisation = {
docker.enable = true;
libvirtd.enable = true;

View File

@@ -39,7 +39,7 @@
users.users.${currentSystemUser} = {
isNormalUser = true;
description = "Patrick Canal";
extraGroups = [ "networkmanager" "wheel" "docker" "nordvpn" ];
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "nordvpn" ];
shell = pkgs.fish;
};