Add VM settings for VRChat dev
This commit is contained in:
@@ -91,11 +91,6 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.graphics = {
|
|
||||||
enable = true;
|
|
||||||
enable32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
@@ -138,7 +133,26 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Set up virtualisation
|
# 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)
|
# UPS (Green Cell 2000VA)
|
||||||
power.ups = {
|
power.ups = {
|
||||||
|
|||||||
12
nixos/flake.lock
generated
12
nixos/flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770654520,
|
"lastModified": 1771102945,
|
||||||
"narHash": "sha256-mg5WZMIPGsFu9MxSrUcuJUPMbfMsF77el5yb/7rc10k=",
|
"narHash": "sha256-e5NfW8NhC3qChR8bHVni/asrig/ZFzd1wzpq+cEE/tg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6c4fdbe1ad198fac36c320fd45c5957324a80b8e",
|
"rev": "ff5e5d882c51f9a032479595cbab40fd04f56399",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -22,11 +22,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770562336,
|
"lastModified": 1771008912,
|
||||||
"narHash": "sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84=",
|
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d6c71932130818840fc8fe9509cf50be8c64634f",
|
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
prismlauncher
|
prismlauncher
|
||||||
protonup-qt
|
protonup-qt
|
||||||
wayvr
|
wayvr
|
||||||
|
unityhub
|
||||||
|
|
||||||
# Gnome Extensions
|
# Gnome Extensions
|
||||||
gnomeExtensions.caffeine
|
gnomeExtensions.caffeine
|
||||||
@@ -53,8 +54,9 @@
|
|||||||
gnome-sound-recorder
|
gnome-sound-recorder
|
||||||
|
|
||||||
# Virtualisation
|
# Virtualisation
|
||||||
gnome-boxes # VM management
|
gnome-boxes
|
||||||
dnsmasq # VM networking
|
dnsmasq
|
||||||
|
phodav
|
||||||
|
|
||||||
# AI
|
# AI
|
||||||
lmstudio
|
lmstudio
|
||||||
@@ -414,7 +416,7 @@
|
|||||||
"_processor_usage_"
|
"_processor_usage_"
|
||||||
"_gpu#1_usage_"
|
"_gpu#1_usage_"
|
||||||
"_memory_usage_"
|
"_memory_usage_"
|
||||||
"_swap_usage_"
|
"_memory_swap_usage_"
|
||||||
"__temperature_max__"
|
"__temperature_max__"
|
||||||
];
|
];
|
||||||
icon-style = 1;
|
icon-style = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user