Misc system changes and nix flake update

This commit is contained in:
2025-07-24 08:08:22 -05:00
parent fc3979e64b
commit ff550b960e
8 changed files with 142 additions and 30 deletions

View File

@ -13,7 +13,7 @@
"${config.users.users.sezycei.home}/keys"
"${config.users.users.sezycei.home}/dev"
];
exclude = [
"*minecraft/OLD*"
];

View File

@ -12,7 +12,7 @@
mail.matri.cx {
template IN A {
answer "{{ .Name }} 0 IN A 149.28.112.101"
answer "{{ .Name }} 0 IN A 216.128.148.134"
}
}
@ -37,7 +37,7 @@
box.eversole.co {
template IN A {
answer "{{ .Name }} 0 IN A 149.28.112.101"
answer "{{ .Name }} 0 IN A 216.128.148.134"
}
}

View File

@ -2,8 +2,8 @@
networking = {
hostName = "eve-psr-nix0";
firewall = {
allowedTCPPorts = [ 22 80 443 5000 23231 23232 23233 ];
allowedUDPPorts = [ 53 51820 config.services.tailscale.port ];
allowedTCPPorts = [ 22 80 443 5000 23231 23232 23233 20443 ];
allowedUDPPorts = [ 53 51820 config.services.tailscale.port 20443 ];
extraCommands = ''
iptables -t nat -A POSTROUTING -s 100.64.0.0/10 -o enp1s0 -j MASQUERADE
'';

View File

@ -1,7 +1,7 @@
{ config, ... }: {
services = {
nix-serve = {
enable = true;
enable = false;
secretKeyFile = config.age.secrets.cache-key.path;
};
};