Nixos-Configuration/configurations/nixos/observer-tofu/default.nix
2025-06-20 13:53:04 -04:00

45 lines
781 B
Nix

{
lib,
flake,
modulesPath,
# config,
...
}:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
imports = [
self.nixosModules.default
"${modulesPath}/virtualisation/lxc-container.nix"
];
deploy = {
address = "200:b938:d405:92df:a6e:1ffd:5213:26b";
};
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";
}