From 2fef3e01c64a1927295c79e802ebbe2095817731 Mon Sep 17 00:00:00 2001 From: Avery Date: Sun, 2 Feb 2025 14:06:03 +0100 Subject: [PATCH] Improve virtualization and Android USB debugging --- hosts/totsugeki/nixos/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/totsugeki/nixos/default.nix b/hosts/totsugeki/nixos/default.nix index eb1ec89..424263c 100644 --- a/hosts/totsugeki/nixos/default.nix +++ b/hosts/totsugeki/nixos/default.nix @@ -34,8 +34,8 @@ networking = { firewall = { - enable = true; - allowedTCPPorts = [ 8000 42595 1420 7777 8080 ]; + enable = false; + allowedTCPPorts = [ 8000 42595 1420 7777 8080 9501 ]; allowedUDPPorts = [ 24642 ]; }; hostName = "totsugeki"; @@ -79,6 +79,7 @@ }; programs = { + adb.enable = true; corectrl = { enable = true; gpuOverclock.enable = true; @@ -235,5 +236,5 @@ spiceUSBRedirection.enable = true; }; - users.users.avery.extraGroups = [ "corectrl" "libvirt" ]; + users.users.avery.extraGroups = [ "corectrl" "libvirt" "kvm" "adbusers" ]; }