Compare commits

..

2 Commits

Author SHA1 Message Date
Inex Code 0aca77ea71 infect:config:sha1: update nixos-config
continuous-integration/drone/push Build is passing Details
2024-05-02 22:41:59 +03:00
Inex Code 7567c69722 infect:config:sha1: update nixos-config
continuous-integration/drone/push Build is passing Details
2024-03-14 18:46:29 +03:00
1 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
: "${VOLUME_DEV_PATH:=}"
: "${STAGING_ACME:=false}"
readonly CONFIG_URL="https://git.selfprivacy.org/api/v1/repos/SelfPrivacy/selfprivacy-nixos-template/archive/75eba2cf8dd3f992c501ea36eeec43b35605a3a3.tar.gz"
readonly CONFIG_URL="https://git.selfprivacy.org/api/v1/repos/SelfPrivacy/selfprivacy-nixos-template/archive/c5b16ac16dd328199e8f4f901890fff63f2fb81f.tar.gz"
readonly NIX_VERSION="2.18.1"
readonly NL=$'\n'
@ -286,15 +286,15 @@ EOF
predictable_inames="usePredictableInterfaceNames = lib.mkForce true;"
fi
local defaultGateway6=${gateway6:+defaultGateway6 = \{ address = \"${gateway6}\"; interface = \"${eth0_name}\"; \};}
local ipv6routes=${gateway6:+ipv6.routes = \[ \{ address = \"${gateway6}\"; prefixLength = 128; \} \];}
local defaultGateway6=${gateway6:+defaultGateway6 = \{ address = "${gateway6}"; interface = "${eth0_name}"; \};}
local ipv6routes=${gateway6:+ipv6.routes = \[ \{ address = "${gateway6}"; prefixLength = 128; \} \];}
cat << EOF
# Networking configuration was populated by nixos-infect with the networking
# details gathered from the running system.
networking = {
defaultGateway = "${gateway}";`
`${defaultGateway6:+
$defaultGateway6}
defaultGateway6}
dhcpcd.enable = false;
$predictable_inames
interfaces = {