ooksmedia: hardware config
This commit is contained in:
parent
10816d1a0a
commit
033588cb19
5 changed files with 19 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./ookpower.nix
|
||||
./virt-manager.nix
|
||||
./1password.nix
|
||||
./ookvolume.nix
|
||||
./kdeconnect.nix
|
||||
|
|
|
|||
19
modules/home/workstation/tools/virt-manager.nix
Normal file
19
modules/home/workstation/tools/virt-manager.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) elem mkIf;
|
||||
inherit (osConfig.ooknet.workstation) profiles;
|
||||
in {
|
||||
config = mkIf (elem "virtualization" profiles) {
|
||||
# setup connections for virt-manager
|
||||
# see <https://nixos.wiki/wiki/Virt-manager>
|
||||
dconf.settings = {
|
||||
"org/virt-manager/virt-manager/connections" = {
|
||||
autoconnect = ["qemu:///system"];
|
||||
uris = ["qemu:///system"];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue