various improvements

This commit is contained in:
yaroslav
2025-08-30 22:29:48 +03:00
parent e7b6ab283e
commit f697119ffe
8 changed files with 208 additions and 29 deletions
+7 -3
View File
@@ -14,7 +14,7 @@
boot.extraModulePackages = [ ];
boot.supportedFilesystems = [ "zfs" ];
boot.kernelParams = [
"video=DP-1:1920x1080@60"
"video=DP-1:1920x1080@60"
];
fileSystems."/" =
@@ -58,13 +58,17 @@
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];
chaotic.mesa-git.enable = true;
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
#networking.firewall.allowedTCPPorts = [ 42420 ];
networking.firewall.trustedInterfaces = [ "enp12s0" "wlp11s0" ];
networking.firewall.allowedTCPPorts = [ 42420 25565 ];
networking.firewall.allowedUDPPorts = [ 5900 ];
networking.firewall.trustedInterfaces = [ "enp12s0" "wlp11s0" "wg0"];
#networking.firewall.enable = false;
# networking.interfaces.enp12s0.useDHCP = lib.mkDefault true;