forked from fediversity/fediversity
conditionally include nameservers
This commit is contained in:
parent
1808a09d21
commit
11d3af1748
1 changed files with 9 additions and 5 deletions
|
|
@ -21,11 +21,15 @@ in
|
|||
## REVIEW: Do we actually need that, considering that we have static IPs?
|
||||
useDHCP = mkDefault true;
|
||||
|
||||
nameservers = [
|
||||
nameservers = mkMerge [
|
||||
(mkIf config.fediversityVm.ipv4.enable [
|
||||
"95.215.185.6"
|
||||
"95.215.185.7"
|
||||
])
|
||||
(mkIf config.fediversityVm.ipv6.enable [
|
||||
"2a00:51c0::5fd7:b906"
|
||||
"2a00:51c0::5fd7:b907"
|
||||
])
|
||||
];
|
||||
|
||||
firewall.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue