Nixos-Configuration/configurations/nixos/observer-tofu/default.nix
Jermeiah S 5da8673244
All checks were successful
/ check (push) Successful in 1m2s
/ deploy (push) Has been skipped
removed addresses, now autogatherd
2025-06-23 01:12:31 -04:00

42 lines
709 B
Nix

{
lib,
flake,
modulesPath,
# config,
...
}:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
imports = [
self.nixosModules.default
"${modulesPath}/virtualisation/lxc-container.nix"
];
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";
}