This commit is contained in:
Porta 2026-10-16 06:38:58 +10:00
parent c6db4f3d59
commit bfa9605322
4 changed files with 15 additions and 0 deletions

View file

@ -19,8 +19,15 @@
networking.firewall = {
allowedTCPPorts = [ 8384 ];
allowedUDPPorts = [ 8384 ];
extraCommands = ''
iptables -I INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -A INPUT -m pkttype --pkt-type multicast -j ACCEPT
iptables -I INPUT -p udp -m udp --match multiport --dports 1990,2021 -j ACCEPT
'';
};
# system level syncthing options go here
services.syncthing = {
enable = true;

View file

@ -69,6 +69,7 @@
cockatrice # mtg client
prismlauncher # modded minecraft
osu-lazer-bin # rhythm is just a click away!
wine
#inputs.nix-gaming.packages.${pkgs.system}.osu-mime # osu mime types
];

View file

@ -59,6 +59,11 @@
"nix-command"
];
nix.settings = {
substituters = [ "https://cache.nixos-cuda.org" ];
trusted-public-keys = [ "cache.nixos-cuda.org:74DUi4Ye579gUqzH4ziL9IyiJBlDpMRn9MBN8oNan9M=" ];
};
# compresses half the ram for use as swap
zramSwap.enable = true;

View file

@ -78,6 +78,8 @@
services.fstrim.enable = true;
nixpkgs.config = { allowBroken = true; allowUnfree = true; };
# Display arrangement detected on fractal: HDMI-A-1 is primary,
# with DP-2 immediately to its right.
home-manager.users.${user-parts.user.username} = {