This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
@@ -11,13 +16,13 @@ in
|
||||
|
||||
config = mkIf config.smayzy.virt.enable {
|
||||
programs.virt-manager.enable = true;
|
||||
users.groups.libvirtd.members = ["smayzy"];
|
||||
users.groups.libvirtd.members = [ "smayzy" ];
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.libvirtd.qemu.runAsRoot = false;
|
||||
virtualisation.libvirtd.qemu.ovmf.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
qemu_kvm
|
||||
qemu_kvm
|
||||
];
|
||||
|
||||
# https://wiki.nixos.org/wiki/QEMU
|
||||
|
||||
Reference in New Issue
Block a user