Compare commits

...

3 Commits

Author SHA1 Message Date
70aedf03f6
add walkah.net vhost 2022-06-01 20:23:23 -04:00
9fec3b77f4
resolve DNS locally when running coredns 2022-06-01 20:23:23 -04:00
15ff560080
🔨 devShell name 2022-06-01 20:23:22 -04:00
3 changed files with 12 additions and 1 deletions

View File

@ -70,6 +70,7 @@
in in
{ {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
name = "athens";
buildInputs = [ deploy-rs.packages.${system}.deploy-rs pkgs.sops ]; buildInputs = [ deploy-rs.packages.${system}.deploy-rs pkgs.sops ];
}; };
}) // { }) // {

View File

@ -18,6 +18,7 @@ in
enable = true; enable = true;
config = '' config = ''
. { . {
bind 127.0.0.1
bind ${cfg.addr} bind ${cfg.addr}
prometheus ${cfg.addr}:9153 prometheus ${cfg.addr}:9153
log log
@ -35,5 +36,10 @@ in
} }
''; '';
}; };
networking = {
nameservers = [ "127.0.0.1" ];
search = [ "walkah.lab" ];
};
}; };
} }

View File

@ -44,7 +44,11 @@ in
virtualHosts."walkah.cloud" = { virtualHosts."walkah.cloud" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { proxyPass = "http://127.0.0.1:8080"; }; locations."/" = { proxyPass = "http://127.0.0.1:8080"; };
serverAliases = [
"walkah.net"
"www.walkah.net"
];
}; };
}; };
}; };