demo nixos-containers
This commit is contained in:
parent
6034940039
commit
40d88c2169
5 changed files with 62 additions and 16 deletions
|
@ -0,0 +1,5 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
./grafana.nix
|
||||
];
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{ config, pkgs, ... }: {
|
||||
services.grafana = {
|
||||
enable = true;
|
||||
domain = "grafana.olympus";
|
||||
port = 80;
|
||||
addr = "0.0.0.0";
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ config.services.grafana.port ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue