feat: add usb sniffer

This commit is contained in:
2025-07-04 19:16:50 +02:00
parent 37b65c6b7f
commit d570d170f0
3 changed files with 68 additions and 2 deletions

View File

@@ -79,7 +79,10 @@
airprint.enable = true;
udev.packages = with pkgs; [ android-udev-rules ];
udev.packages = with pkgs; [
android-udev-rules
usb-sniffer
];
};
hardware = {
@@ -98,6 +101,17 @@
};
};
virtualisation.oci-containers.containers.craftoria = {
image = "eclipse-temurin:21-jre";
volumes = [ "/home/theaninova/.config/craftoria:/craftoria" ];
environment = { };
ports = [ "25565:25565" ];
workdir = "/craftoria";
entrypoint = "/bin/bash";
cmd = [ "startserver.sh" ];
extraOptions = [ "--network=host" ];
};
fonts = {
fira-code = {
enable = true;
@@ -145,6 +159,7 @@
usbutils
usbimager
uhubctl
usb-sniffer
pciutils
htop
unar
@@ -167,7 +182,13 @@
];
networking = {
firewall.allowedUDPPorts = [ 50765 ];
firewall = {
allowedTCPPorts = [ 25565 ];
allowedUDPPorts = [
25565
50765
];
};
networkmanager = {
enable = true;