configure graphs for wry
This commit is contained in:
parent
a4024781c6
commit
6ae5ee3b33
|
@ -9,9 +9,8 @@ in {
|
||||||
../2configs/base.nix
|
../2configs/base.nix
|
||||||
../2configs/base-sources.nix
|
../2configs/base-sources.nix
|
||||||
../2configs/tinc-basic-retiolum.nix
|
../2configs/tinc-basic-retiolum.nix
|
||||||
{
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.allowPing = true;
|
networking.firewall.allowPing = true;
|
||||||
networking.interfaces.enp2s1.ip4 = [
|
networking.interfaces.enp2s1.ip4 = [
|
||||||
{
|
{
|
||||||
|
@ -29,6 +28,15 @@ in {
|
||||||
|
|
||||||
# prepare graphs
|
# prepare graphs
|
||||||
nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; };
|
nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; };
|
||||||
|
krebs.nginx.enable = true;
|
||||||
|
makefu.tinc_graphs.enable = true;
|
||||||
|
makefu.tinc_graphs.krebsNginx = {
|
||||||
|
enable = true;
|
||||||
|
hostnames_complete = [ "graphs.wry" "graphs.wry.retiolum" ];
|
||||||
|
# TODO: remove hard-coded path
|
||||||
|
hostnames_anonymous = [ "graphs.krebsco.de" ];
|
||||||
|
};
|
||||||
|
networking.firewall.allowedTCPPorts = [80];
|
||||||
|
|
||||||
krebs.build = {
|
krebs.build = {
|
||||||
user = config.krebs.users.makefu;
|
user = config.krebs.users.makefu;
|
||||||
|
|
Loading…
Reference in a new issue