Add VM settings for VRChat dev

This commit is contained in:
2026-02-22 14:48:07 +00:00
parent e75de17f2f
commit b403b620f5
3 changed files with 31 additions and 15 deletions

View File

@@ -91,11 +91,6 @@
];
};
hardware.graphics = {
enable = true;
enable32Bit = true;
};
# Packages
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
@@ -138,7 +133,26 @@
};
# Set up virtualisation
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd = {
enable = true;
# Enable TPM emulation (for Windows 11)
qemu = {
swtpm.enable = true;
};
};
# Enable USB redirection
virtualisation.spiceUSBRedirection.enable = true;
# Allow VM management
users.groups.libvirtd.members = [ "trude" ];
users.groups.kvm.members = [ "trude" ];
hardware.graphics = {
enable = true;
enable32Bit = true;
};
# UPS (Green Cell 2000VA)
power.ups = {

12
nixos/flake.lock generated
View File

@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1770654520,
"narHash": "sha256-mg5WZMIPGsFu9MxSrUcuJUPMbfMsF77el5yb/7rc10k=",
"lastModified": 1771102945,
"narHash": "sha256-e5NfW8NhC3qChR8bHVni/asrig/ZFzd1wzpq+cEE/tg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "6c4fdbe1ad198fac36c320fd45c5957324a80b8e",
"rev": "ff5e5d882c51f9a032479595cbab40fd04f56399",
"type": "github"
},
"original": {
@@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1770562336,
"narHash": "sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84=",
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"type": "github"
},
"original": {

View File

@@ -31,6 +31,7 @@
prismlauncher
protonup-qt
wayvr
unityhub
# Gnome Extensions
gnomeExtensions.caffeine
@@ -53,8 +54,9 @@
gnome-sound-recorder
# Virtualisation
gnome-boxes # VM management
dnsmasq # VM networking
gnome-boxes
dnsmasq
phodav
# AI
lmstudio
@@ -414,7 +416,7 @@
"_processor_usage_"
"_gpu#1_usage_"
"_memory_usage_"
"_swap_usage_"
"_memory_swap_usage_"
"__temperature_max__"
];
icon-style = 1;