42 lines
814 B
Nix
42 lines
814 B
Nix
{
|
|
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 = {
|
|
tty-ips.enable = true;
|
|
uptime-kuma = {
|
|
enable = true;
|
|
settings = {
|
|
DATA_DIR = "/var/lib/uptime-kuma/";
|
|
UPTIME_KUMA_HOST = "127.0.0.1";
|
|
PORT = "3001";
|
|
};
|
|
};
|
|
};
|
|
networking = {
|
|
firewall.enable = false;
|
|
yggdrasil = {
|
|
enable = true;
|
|
AllowedPublicKeys = [
|
|
"d0e265fcf663451ae9bc048dc1297749819ce9d48042a986f2866c15a779a074"
|
|
];
|
|
};
|
|
hostName = "observer-tofu";
|
|
};
|
|
environment.systemPackages = [
|
|
];
|
|
system.stateVersion = "25.05";
|
|
}
|