Nixos-Configuration/configurations/nixos/observer-tofu/default.nix
Jermeiah S 7dde5410e4
All checks were successful
/ check (push) Successful in 1m23s
/ deploy (push) Has been skipped
chore: cleanup redundant module declarations
2025-07-01 17:52:26 -04:00

40 lines
640 B
Nix

{
lib,
flake,
# config,
...
}:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
imports = [
self.nixosModules.default
];
services = {
uptime-kuma = {
enable = true;
settings = {
DATA_DIR = "/var/lib/uptime-kuma/";
UPTIME_KUMA_HOST = "0.0.0.0";
PORT = "3001";
};
};
};
networking = {
hostName = "observer-tofu";
firewall = {
# enable = lib.mkForce false;
interfaces = {
"eth0@if77" = {
allowedTCPPorts = [ 3001 ];
};
};
};
};
environment.systemPackages = [
];
system.stateVersion = "25.05";
}