mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Enable uptime-kuma on cumulus
This commit is contained in:
parent
7cd535e424
commit
93f3055786
2 changed files with 19 additions and 6 deletions
|
|
@ -1,13 +1,25 @@
|
|||
_: {
|
||||
{ config, ... }:
|
||||
{
|
||||
system.stateVersion = "24.11";
|
||||
|
||||
custom = {
|
||||
sops.enable = true;
|
||||
boot.loader.grub.enable = true;
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
ssh.enable = true;
|
||||
services = {
|
||||
tailscale = {
|
||||
enable = true;
|
||||
ssh.enable = true;
|
||||
};
|
||||
|
||||
uptimeKuma = {
|
||||
enable = true;
|
||||
domain = "uptime.${config.custom.services.tailscale.domain}";
|
||||
};
|
||||
|
||||
caddy.virtualHosts.uptimeKuma = {
|
||||
inherit (config.custom.services.uptimeKuma) domain port;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue