blob: f6ddbe96d1a78bbf1e8bbba82263841acf4cee9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ config, lib, pkgs, ... }:
with import <stockholm/lib>;
{
environment.systemPackages = [
pkgs.go-shortener
];
krebs.go = {
enable = true;
};
krebs.nginx = {
enable = true;
servers.go = {
locations = [
(nameValuePair "/" ''
proxy_set_header Host go;
proxy_pass http://localhost:1337;
'')
];
server-names = [
"go"
"go.retiolum"
];
};
};
}
|