mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 19:10:21 +00:00
Theia: uptime kuma + new kernel
This commit is contained in:
parent
3d05c51404
commit
857b261c92
1 changed files with 15 additions and 1 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue