mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: add usb sniffer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user