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;
|
type nat hook prerouting priority dstnat; policy accept;
|
||||||
tcp dport 2211 dnat ip to ${config.ips.pc}:22 comment "SSH to PC"
|
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"
|
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"
|
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"
|
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 { 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 {
|
chain POSTROUTING {
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
system = {
|
system = {
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
lanzaboote.enable = true;
|
lanzaboote.enable = true;
|
||||||
video.nvidia.enable = true;
|
|
||||||
libvirtd.enable = true;
|
libvirtd.enable = true;
|
||||||
|
video.nvidia.enable = true;
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
networking.firewall = {
|
networking.firewall.allowedUDPPorts = [ 27015 ];
|
||||||
allowedUDPPorts = [
|
|
||||||
27015 # Half-Life
|
|
||||||
7777 # Lethal Company
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
nix.settings = {
|
nix = {
|
||||||
|
package = pkgs.lix;
|
||||||
|
settings = {
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
|
@ -15,6 +17,7 @@
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
trusted-users = [ "@wheel" ];
|
trusted-users = [ "@wheel" ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowUnfreePackages;
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.nixpkgs.allowUnfreePackages;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue