Theia: uptime kuma + new kernel

This commit is contained in:
blahai 2024-10-25 09:29:48 +03:00
parent 3d05c51404
commit 857b261c92
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc

View file

@ -15,6 +15,7 @@
"virtio_blk" "virtio_blk"
]; ];
initrd.kernelModules = [ ]; initrd.kernelModules = [ ];
kernelPackages = pkgs.linuxPackages_latest;
kernelModules = [ "kvm-amd" ]; kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ]; extraModulePackages = [ ];
loader.grub = { loader.grub = {
@ -41,7 +42,7 @@
}; };
networking = { networking = {
enableIPv6 = false; enableIPv6 = false; # Had to disable for now due to problems with resolving
firewall = { allowedTCPPorts = [ firewall = { allowedTCPPorts = [
80 # HTTP 80 # HTTP
443 # HTTPS 443 # HTTPS
@ -97,6 +98,19 @@
reverse_proxy localhost:8888 reverse_proxy localhost:8888
''; '';
}; };
"status.blahai.gay" = {
extraConfig = ''
reverse_proxy localhost:3001
'';
};
};
};
uptime-kuma = {
enable = true;
settings = {
PORT = "3001";
}; };
}; };