final v1
This commit is contained in:
parent
c6db4f3d59
commit
bfa9605322
4 changed files with 15 additions and 0 deletions
|
|
@ -19,8 +19,15 @@
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 8384 ];
|
allowedTCPPorts = [ 8384 ];
|
||||||
allowedUDPPorts = [ 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
|
# system level syncthing options go here
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@
|
||||||
cockatrice # mtg client
|
cockatrice # mtg client
|
||||||
prismlauncher # modded minecraft
|
prismlauncher # modded minecraft
|
||||||
osu-lazer-bin # rhythm is just a click away!
|
osu-lazer-bin # rhythm is just a click away!
|
||||||
|
wine
|
||||||
#inputs.nix-gaming.packages.${pkgs.system}.osu-mime # osu mime types
|
#inputs.nix-gaming.packages.${pkgs.system}.osu-mime # osu mime types
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,11 @@
|
||||||
"nix-command"
|
"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
|
# compresses half the ram for use as swap
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,6 +78,8 @@
|
||||||
|
|
||||||
services.fstrim.enable = true;
|
services.fstrim.enable = true;
|
||||||
|
|
||||||
|
|
||||||
|
nixpkgs.config = { allowBroken = true; allowUnfree = true; };
|
||||||
# Display arrangement detected on fractal: HDMI-A-1 is primary,
|
# Display arrangement detected on fractal: HDMI-A-1 is primary,
|
||||||
# with DP-2 immediately to its right.
|
# with DP-2 immediately to its right.
|
||||||
home-manager.users.${user-parts.user.username} = {
|
home-manager.users.${user-parts.user.username} = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue