update gpu-passthru

This commit is contained in:
zack 2025-01-13 20:45:19 -05:00
parent 82c3c45428
commit 20108064de
No known key found for this signature in database
GPG key ID: EE8A2B709E2401D1
5 changed files with 33 additions and 23 deletions

View file

@ -31,8 +31,8 @@ in {
};
theme = {
name = "Tokyonight-Dark";
package = pkgs.tokyonight-gtk-theme;
name = "Catppuccin-GTK-Dark";
package = pkgs.magnetic-catppuccin-gtk;
};
iconTheme = {

View file

@ -21,8 +21,21 @@ in {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemuOvmf = true;
qemuRunAsRoot = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [
(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
})
.fd
];
};
};
};
systemd.services.libvirtd = {
@ -35,6 +48,7 @@ in {
kmod
systemd
ripgrep
mullvad
sd
];
};
@ -45,11 +59,9 @@ in {
ln -Tfs /etc/libvirt/hooks /var/lib/libvirt/hooks
'';
# environment.systemPackages = with pkgs; [
# virt-manager
# gnome3.dconf
# libguestfs
# ];
environment.systemPackages = with pkgs; [
libguestfs-with-appliance
];
environment.etc = {
"/libvirt/hooks/qemu" = {
@ -119,6 +131,9 @@ in {
systemctl set-property --runtime -- system.slice AllowedCPUs=0-6
systemctl set-property --runtime -- init.scope AllowedCPUs=0-6
# disable vpn
mullvad disconnect -w
# Logout
# source "/home/owner/Desktop/Sync/Files/Tools/logout.sh"