[virt-manager] enabled
This commit is contained in:
parent
07e50b3276
commit
08b2989e5e
@ -10,6 +10,7 @@
|
||||
./mpv
|
||||
./ssh
|
||||
./theme
|
||||
./virt-manager
|
||||
./xdg
|
||||
./zsh
|
||||
];
|
||||
|
1
nix/home/virt-manager/default.nix
Normal file
1
nix/home/virt-manager/default.nix
Normal file
@ -0,0 +1 @@
|
||||
{ ... }: { imports = [ ./virt-manager.nix ]; }
|
11
nix/home/virt-manager/virt-manager.nix
Normal file
11
nix/home/virt-manager/virt-manager.nix
Normal 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"];
|
||||
};
|
||||
};
|
||||
}
|
@ -12,6 +12,7 @@
|
||||
./security.nix
|
||||
./simon.nix
|
||||
./sound.nix
|
||||
./virt-manager.nix
|
||||
];
|
||||
|
||||
# system state version
|
||||
|
@ -7,7 +7,7 @@
|
||||
users.users.simon = {
|
||||
isNormalUser = true;
|
||||
description = "Simon Cornet";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "libvirtd" "networkmanager" "wheel" ];
|
||||
initialPassword = "changeme";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
7
nix/systems/virt-manager.nix
Normal file
7
nix/systems/virt-manager.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
# setup virt-manager
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
}
|
Reference in New Issue
Block a user