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

@ -60,11 +60,11 @@
enable = true;
defaultApplications = {
"text/html" = "zen_beta.desktop";
"x-scheme-handler/http" = "zen_beta.desktop";
"x-scheme-handler/https" = "zen_beta.desktop";
"x-scheme-handler/about" = "zen_beta.desktop";
"x-scheme-handler/unknown" = "zen_beta.desktop";
"text/html" = "zen.desktop";
"x-scheme-handler/http" = "zen.desktop";
"x-scheme-handler/https" = "zen.desktop";
"x-scheme-handler/about" = "zen.desktop";
"x-scheme-handler/unknown" = "zen.desktop";
"inode/directory" = ["org.gnome.Nautilus.desktop"];

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"

View file

@ -104,6 +104,7 @@
pkgs.docker-compose
pkgs.podman-compose
pkgs.transmission_4
pkgs.restic
inputs.agenix.packages.${system}.agenix
inputs.awsvpnclient.packages."${pkgs.system}".awsvpnclient

View file

@ -28,17 +28,11 @@
options = ["fmask=0077" "dmask=0077"];
};
fileSystems."/mnt/lul" = {
device = "/dev/disk/by-partuuid/2b7f6948-57a6-4fef-a931-b3aa962faee3";
fsType = "ntfs";
fileSystems."/mnt/bk" = {
device = "/dev/disk/by-partuuid/f352c9b5-2207-4313-bcb4-ba0491de72fe";
fsType = "ext4";
options = [
"uid=1000" # Replace with your user's UID if different
"gid=100" # Replace with your user's GID if different
"rw" # Read-write access
"user" # Allow users to mount
"exec" # Allow execution of binaries
"auto" # Mount at boot
"noatime" # Don't update access time (better performance)
];
};