ds9 ipv6 prefixstable
This commit is contained in:
parent
0ed30c35cf
commit
b42a8d1c99
2 changed files with 22 additions and 19 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue