enable homu

This commit is contained in:
Sebastien Bourdeauducq 2019-05-02 13:54:21 +08:00
parent ad2fe47688
commit b47e660c2f
1 changed files with 5 additions and 11 deletions

View File

@ -205,7 +205,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."/".proxyPass = "http://192.168.1.100"; locations."/homu/".proxyPass = "http://127.0.0.1:54856/";
}; };
"nixbld.m-labs.hk" = { "nixbld.m-labs.hk" = {
forceSSL = true; forceSSL = true;
@ -245,16 +245,10 @@ ACTION=="add", SUBSYSTEM=="tty", \
}; };
}; };
# services.homu = { services.homu = {
# enable = true; enable = true;
# # See https://github.com/servo/homu/blob/master/cfg.sample.toml config = "/etc/nixos/secret/homu.toml";
# config = { };
# max_priority = 9001;
# github = {
# access_token = "...";
# };
# };
# };
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database