feat: a bunch of misc updates
This commit is contained in:
parent
db83134e6b
commit
bb120b4e3d
18 changed files with 256 additions and 121 deletions
|
@ -1,9 +1,18 @@
|
|||
{ ...
|
||||
}: {
|
||||
}:
|
||||
let
|
||||
rootDomainName = "stvnliu.me";
|
||||
subdomains = [
|
||||
"git"
|
||||
"kellnr"
|
||||
"www"
|
||||
"blog"
|
||||
"files"
|
||||
];
|
||||
in
|
||||
{
|
||||
networking.extraHosts = ''
|
||||
# home IP mapping
|
||||
|
||||
192.168.2.1 router.home
|
||||
192.168.2.2 server.home
|
||||
# home IP mapping
|
||||
100.91.33.34 ${rootDomainName} ${builtins.concatStringsSep " " (map (x: x + "." + rootDomainName) subdomains)}
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue