Compare commits
2 commits
7a3d5bfb2a
...
048272160b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
048272160b | ||
|
|
e1f2540718 |
2 changed files with 11 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ in
|
|||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
# "${modulesPath}/virtualisation/lxc-container.nix"
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
];
|
||||
services.yggdrasil.persistentKeys = false;
|
||||
deploy = {
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue