Make servers headless, modularize the domain grabber
This commit is contained in:
parent
bbc1f4dce1
commit
88da54facd
9 changed files with 15 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
./boot
|
||||
|
@ -9,6 +9,7 @@
|
|||
./services
|
||||
./users
|
||||
../../modules/system
|
||||
(modulesPath + "/profiles/headless.nix")
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
chain PREROUTING {
|
||||
type nat hook prerouting priority dstnat; policy accept;
|
||||
tcp dport 2211 dnat ip to 10.2.0.100:22 comment "SSH to Tower"
|
||||
tcp dport 2222 dnat ip to 10.2.0.101:22 comment "SSH to Kitty"
|
||||
tcp dport 2222 dnat ip to 10.2.0.2:22 comment "SSH to Kitty"
|
||||
|
||||
udp dport { 27005, 27015 } dnat ip to 10.2.0.100 comment "PC Hosted Games"
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
services = {
|
||||
cloudflare-dyndns.enable = true;
|
||||
forgejo.enable = true;
|
||||
icecast.enable = true;
|
||||
jellyfin.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue