1
1
Fork 0

beatific: Add DNS host entries

This commit is contained in:
Tim Van Baak 2023-10-22 20:52:10 +00:00
parent 33b50d12d9
commit 721e5a3ca1
1 changed files with 31 additions and 0 deletions

View File

@ -36,6 +36,7 @@ in {
ssh = mkFlag "Default sshd settings";
nebula = mkFlag "Default beatific nebula settings";
tvb = mkFlag "Default tvb account";
hosts = mkFlag "Default 10.22.20.* DNS host entries";
};
};
};
@ -153,5 +154,35 @@ in {
];
};
})
(mkIf cfg.defaults.hosts {
# Create *.home host entries for all the beatific members
networking.hosts = {
"10.22.20.1" = [
"empyrean.home"
];
"10.22.20.2" = [
"catacomb.home"
];
"10.22.20.3" = [
"palamas.home"
];
"10.22.20.4" = [
"stagirite.home"
];
"10.22.20.5" = [
"vagrant.home"
];
"10.22.20.6" = [
"unfolder.home"
];
"10.22.20.7" = [
"centroid.home"
];
"10.22.20.8" = [
"backyard.home"
];
};
})
];
}