bert: Add lawrencedeerclub.chandlerswift.com
This commit is contained in:
parent
3379ea34d7
commit
e02c3832a9
|
@ -7,6 +7,7 @@
|
||||||
./home.chandlerswift.com.nix
|
./home.chandlerswift.com.nix
|
||||||
./isaacswift.com.nix
|
./isaacswift.com.nix
|
||||||
./katherineandchandler.com.nix
|
./katherineandchandler.com.nix
|
||||||
|
./lawrencedeerclub.chandlerswift.com.nix
|
||||||
./maps.chandlerswift.com.nix
|
./maps.chandlerswift.com.nix
|
||||||
./music.chandlerswift.com.nix
|
./music.chandlerswift.com.nix
|
||||||
./preview.chandlerswift.com.nix
|
./preview.chandlerswift.com.nix
|
||||||
|
|
18
bert/services/http/lawrencedeerclub.chandlerswift.com.nix
Normal file
18
bert/services/http/lawrencedeerclub.chandlerswift.com.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
{
|
||||||
|
services.caddy.virtualHosts."lawrencedeerclub.chandlerswift.com".extraConfig = ''
|
||||||
|
encode zstd gzip
|
||||||
|
file_server
|
||||||
|
root * /srv/www/lawrencedeerclub.chandlerswift.com
|
||||||
|
# hide .git # ???
|
||||||
|
|
||||||
|
handle_errors {
|
||||||
|
respond "{err.status_code} {err.status_text}"
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
systemd.tmpfiles.settings."10-lawrencedeerclub-chandlerswift-com" = {
|
||||||
|
"/srv/www/lawrencedeerclub.chandlerswift.com" = {
|
||||||
|
d = {};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -18,6 +18,22 @@
|
||||||
];
|
];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
job_name = "bigbird_zfs";
|
||||||
|
static_configs = [{
|
||||||
|
targets = [
|
||||||
|
"bigbird:9134"
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
job_name = "bigbird";
|
||||||
|
static_configs = [{
|
||||||
|
targets = [
|
||||||
|
"bigbird:9100"
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
exporters.node = {
|
exporters.node = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -37,6 +37,17 @@
|
||||||
services.openssh.settings.PasswordAuthentication = false;
|
services.openssh.settings.PasswordAuthentication = false;
|
||||||
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhPyyqS3BGYor3zLbjc8hZuhem3mS8TNmvWogXcnz/b chandler@chandlerswift.com'' ];
|
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhPyyqS3BGYor3zLbjc8hZuhem3mS8TNmvWogXcnz/b chandler@chandlerswift.com'' ];
|
||||||
|
|
||||||
|
services.prometheus.exporters = {
|
||||||
|
node = {
|
||||||
|
enable = true;
|
||||||
|
enabledCollectors = [
|
||||||
|
"systemd"
|
||||||
|
"zfs"
|
||||||
|
];
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
Loading…
Reference in a new issue