Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Alexander | 221f937cb4 | |
Alexander | cf36eed8f2 |
|
@ -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/f2587a6b1e2a07d25e7fa75133d81d5784a3822b.tar.gz"
|
||||
readonly CONFIG_URL="https://git.selfprivacy.org/api/v1/repos/SelfPrivacy/selfprivacy-nixos-template/archive/75eba2cf8dd3f992c501ea36eeec43b35605a3a3.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 = {
|
||||
|
|
Loading…
Reference in New Issue