mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
Init:start-nix
This commit is contained in:
21
home/gui/virtual-machine-manager/virt-manager.nix
Normal file
21
home/gui/virtual-machine-manager/virt-manager.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
hostname,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (import ../../../hosts/${hostname}/env.nix) QEMU-VM-Use-Case;
|
||||
in
|
||||
with lib;
|
||||
mkIf QEMU-VM-Use-Case {
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
virt-manager
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user