feat: working gpu passthrough \o/

This commit is contained in:
Evar 2024-12-30 05:03:36 -05:00
parent 964b99b28d
commit c140a12e66
9 changed files with 391 additions and 2 deletions

View file

@ -116,6 +116,7 @@
};
};
extensions = with pkgs.vscode-extensions; [
vscodevim.vim
mkhl.direnv
jnoortheen.nix-ide
];

View file

@ -19,6 +19,7 @@ in {
./desktop.nix
# ./emacs.nix
./apps.nix
./vm.nix
];
home.sessionVariables = variables;

18
home/vm.nix Normal file
View file

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}: {
home.packages = [
pkgs.virtio-win
];
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
}