[virt-manager] enabled
This commit is contained in:
parent
07e50b3276
commit
08b2989e5e
@ -10,6 +10,7 @@
|
|||||||
./mpv
|
./mpv
|
||||||
./ssh
|
./ssh
|
||||||
./theme
|
./theme
|
||||||
|
./virt-manager
|
||||||
./xdg
|
./xdg
|
||||||
./zsh
|
./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
|
./security.nix
|
||||||
./simon.nix
|
./simon.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
|
./virt-manager.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# system state version
|
# system state version
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
users.users.simon = {
|
users.users.simon = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Simon Cornet";
|
description = "Simon Cornet";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "libvirtd" "networkmanager" "wheel" ];
|
||||||
initialPassword = "changeme";
|
initialPassword = "changeme";
|
||||||
shell = pkgs.zsh;
|
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