sora: init uptime-kuma

This commit is contained in:
notohh 2023-06-23 11:03:32 -04:00
parent 070d1a63f4
commit 68d957e349
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 13 additions and 7 deletions

View file

@ -2,16 +2,11 @@
imports = [
./hardware-configuration.nix
./networking.nix
./services
../../modules
];
environment.systemPackages = with pkgs; [
git
croc
helix
];
boot.cleanTmpDir = true;
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.hostName = "sora";
networking.domain = "";

View file

@ -1,4 +1,5 @@
{...}: {
imports = [
./uptimekuma.nix
];
}

View file

@ -0,0 +1,10 @@
_: {
networking.firewall.allowedTCPPorts = [4000];
services.uptime-kuma = {
enable = true;
settings = {
HOST = "100.87.54.48";
PORT = "4000";
};
};
}