ds9 ipv6 prefixstable

This commit is contained in:
Lucy Hochkamp 2025-02-12 01:13:06 +01:00
parent 0ed30c35cf
commit b42a8d1c99
No known key found for this signature in database
2 changed files with 22 additions and 19 deletions

View file

@ -44,6 +44,10 @@ in
programs.mosh.enable = true;
security.sudo.wheelNeedsPassword = false;
networking.useDHCP = true;
networking.useNetworkd = true;
systemd.network.networks."enp1s0f1".ipv6AcceptRAConfig = {
Token = "prefixstable";
};
networking.bridges."br0".interfaces = [ ];
networking.hostId = "7b4c2932";
networking.firewall.allowedTCPPorts = [ 9000 25565 80 443 ];
@ -126,7 +130,7 @@ in
systemd.services."dyndns-refresh" = {
script = ''
set -eu
export PATH=$PATH:${pkgs.curl}/bin
export PATH=$PATH:${pkgs.curl}/bin:${pkgs.jq}/bin:${pkgs.iproute2}/bin
${pkgs.bash}/bin/bash ${config.age.secrets.ds9DynDns.path}
'';
serviceConfig = {