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 = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./networking.nix ./networking.nix
./services
../../modules ../../modules
]; ];
environment.systemPackages = with pkgs; [ boot.tmp.cleanOnBoot = true;
git
croc
helix
];
boot.cleanTmpDir = true;
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "sora"; networking.hostName = "sora";
networking.domain = ""; networking.domain = "";

View file

@ -1,4 +1,5 @@
{...}: { {...}: {
imports = [ 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";
};
};
}