beatific: Add DNS host entries
This commit is contained in:
parent
33b50d12d9
commit
721e5a3ca1
@ -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"
|
||||
];
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user