derive domain from server type

This commit is contained in:
Pim Kunis 2024-01-28 13:46:32 +01:00
parent bd5dc4b883
commit a015290fcf
3 changed files with 6 additions and 18 deletions

View file

@ -89,6 +89,7 @@ in {
config = {
networking = {
domain = if machine.type == "physical" then "hyp" else "dmz";
nftables.enable = true;
useDHCP = machine.type == "virtual";