Compare commits

...

2 commits

Author SHA1 Message Date
Jermeiah S
048272160b
enabled container config
Some checks are pending
/ test (push) Waiting to run
2025-06-19 19:05:53 -04:00
Jermeiah S
e1f2540718
enabled firewall 2025-06-19 19:05:35 -04:00
2 changed files with 11 additions and 2 deletions

View file

@ -12,7 +12,7 @@ in
{
imports = [
self.nixosModules.default
# "${modulesPath}/virtualisation/lxc-container.nix"
"${modulesPath}/virtualisation/lxc-container.nix"
];
services.yggdrasil.persistentKeys = false;
deploy = {

View file

@ -1,4 +1,5 @@
{
lib,
flake,
modulesPath,
# config,
@ -23,13 +24,21 @@ in
enable = true;
settings = {
DATA_DIR = "/var/lib/uptime-kuma/";
UPTIME_KUMA_HOST = "127.0.0.1";
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 = [
];