diff --git a/hosts/sora/default.nix b/hosts/sora/default.nix index 42211be..c383da3 100644 --- a/hosts/sora/default.nix +++ b/hosts/sora/default.nix @@ -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 = ""; diff --git a/hosts/sora/services/default.nix b/hosts/sora/services/default.nix index 65740a9..39f2da1 100644 --- a/hosts/sora/services/default.nix +++ b/hosts/sora/services/default.nix @@ -1,4 +1,5 @@ {...}: { imports = [ + ./uptimekuma.nix ]; } diff --git a/hosts/sora/services/uptimekuma.nix b/hosts/sora/services/uptimekuma.nix new file mode 100644 index 0000000..4122bbc --- /dev/null +++ b/hosts/sora/services/uptimekuma.nix @@ -0,0 +1,10 @@ +_: { + networking.firewall.allowedTCPPorts = [4000]; + services.uptime-kuma = { + enable = true; + settings = { + HOST = "100.87.54.48"; + PORT = "4000"; + }; + }; +}