sora: init uptime-kuma
This commit is contained in:
parent
070d1a63f4
commit
68d957e349
3 changed files with 13 additions and 7 deletions
|
@ -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 = "";
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./uptimekuma.nix
|
||||
];
|
||||
}
|
||||
|
|
10
hosts/sora/services/uptimekuma.nix
Normal file
10
hosts/sora/services/uptimekuma.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
_: {
|
||||
networking.firewall.allowedTCPPorts = [4000];
|
||||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
HOST = "100.87.54.48";
|
||||
PORT = "4000";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue