forked from M-Labs/nix-scripts
nixbld: enable munin
This commit is contained in:
parent
898e81abc3
commit
64eaa90250
|
@ -170,6 +170,15 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
|
services.munin-node.enable = true;
|
||||||
|
services.munin-cron = {
|
||||||
|
enable = true;
|
||||||
|
hosts = ''
|
||||||
|
[${config.networking.hostName}]
|
||||||
|
address localhost
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
httpPort = 3001;
|
httpPort = 3001;
|
||||||
|
@ -264,6 +273,7 @@ ACTION=="add", SUBSYSTEM=="tty", \
|
||||||
"lab.m-labs.hk" = {
|
"lab.m-labs.hk" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
useACMEHost = "nixbld.m-labs.hk";
|
useACMEHost = "nixbld.m-labs.hk";
|
||||||
|
locations."/munin".alias = "/var/www/munin";
|
||||||
locations."/homu/".proxyPass = "http://127.0.0.1:54856/";
|
locations."/homu/".proxyPass = "http://127.0.0.1:54856/";
|
||||||
};
|
};
|
||||||
"nixbld.m-labs.hk" = {
|
"nixbld.m-labs.hk" = {
|
||||||
|
|
Loading…
Reference in New Issue