[virt-manager] enabled

This commit is contained in:
Simon Cornet 2024-03-24 21:24:55 +01:00
parent 07e50b3276
commit 08b2989e5e
6 changed files with 22 additions and 1 deletions

View File

@ -10,6 +10,7 @@
./mpv
./ssh
./theme
./virt-manager
./xdg
./zsh
];

View File

@ -0,0 +1 @@
{ ... }: { imports = [ ./virt-manager.nix ]; }

View File

@ -0,0 +1,11 @@
{ config, ... }:
{
# dconf settings for virt-manager
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
}

View File

@ -12,6 +12,7 @@
./security.nix
./simon.nix
./sound.nix
./virt-manager.nix
];
# system state version

View File

@ -7,7 +7,7 @@
users.users.simon = {
isNormalUser = true;
description = "Simon Cornet";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "libvirtd" "networkmanager" "wheel" ];
initialPassword = "changeme";
shell = pkgs.zsh;
};

View File

@ -0,0 +1,7 @@
{ config, pkgs, ... }: {
# setup virt-manager
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}