derive domain from server type
This commit is contained in:
parent
bd5dc4b883
commit
a015290fcf
3 changed files with 6 additions and 18 deletions
|
@ -89,6 +89,7 @@ in {
|
|||
|
||||
config = {
|
||||
networking = {
|
||||
domain = if machine.type == "physical" then "hyp" else "dmz";
|
||||
nftables.enable = true;
|
||||
useDHCP = machine.type == "virtual";
|
||||
|
||||
|
|
Reference in a new issue