Other small formatting changes
This commit is contained in:
parent
8ecb59be3e
commit
30fc0dc800
4 changed files with 13 additions and 17 deletions
|
@ -7,15 +7,13 @@
|
|||
type nat hook prerouting priority dstnat; policy accept;
|
||||
tcp dport 2211 dnat ip to ${config.ips.pc}:22 comment "SSH to PC"
|
||||
|
||||
udp dport { 27005, 27015, 7777 } dnat ip to ${config.ips.pc} comment "PC Hosted Games"
|
||||
udp dport { 27005, 27015 } dnat ip to ${config.ips.pc} comment "PC Hosted Games"
|
||||
|
||||
tcp dport { 48010, 47989, 47984 } dnat ip to ${config.ips.pc} comment "PC Sunshine TCP"
|
||||
udp dport { 47998, 47999, 48000 } dnat ip to ${config.ips.pc} comment "PC Sunshine UDP"
|
||||
|
||||
tcp dport { 38010, 37989, 37984 } dnat ip to ${config.ips.vm} comment "VM Sunshine TCP"
|
||||
udp dport { 37998, 37999, 38000 } dnat ip to ${config.ips.vm} comment "VM Sunshine UDP"
|
||||
|
||||
udp dport { 7790, 7791, 7792 } dnat ip to ${config.ips.hx} comment "Deus Ex"
|
||||
}
|
||||
|
||||
chain POSTROUTING {
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
system = {
|
||||
desktop.enable = true;
|
||||
lanzaboote.enable = true;
|
||||
video.nvidia.enable = true;
|
||||
libvirtd.enable = true;
|
||||
video.nvidia.enable = true;
|
||||
stateVersion = "24.05";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
networking.firewall = {
|
||||
allowedUDPPorts = [
|
||||
27015 # Half-Life
|
||||
7777 # Lethal Company
|
||||
];
|
||||
};
|
||||
networking.firewall.allowedUDPPorts = [ 27015 ];
|
||||
}
|
||||
|
|
|
@ -7,13 +7,16 @@
|
|||
};
|
||||
|
||||
config = {
|
||||
nix.settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
trusted-users = [ "@wheel" ];
|
||||
nix = {
|
||||
package = pkgs.lix;
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
trusted-users = [ "@wheel" ];
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowUnfreePackages;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue