diff options
Diffstat (limited to 'hosts/atlas')
| -rw-r--r-- | hosts/atlas/default.nix | 2 | ||||
| -rw-r--r-- | hosts/atlas/prometheus.nix | 14 |
2 files changed, 1 insertions, 15 deletions
diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix index a77d6ec..1a9691d 100644 --- a/hosts/atlas/default.nix +++ b/hosts/atlas/default.nix @@ -7,7 +7,6 @@ ./hardware-configuration.nix ./miniflux.nix ./nginx.nix - ./prometheus.nix ]; _module.args.nixinate = { @@ -30,6 +29,7 @@ networking = { domain = "mydadleft.me"; hostName = "atlas"; + firewall.allowedTCPPorts = [config.services.prometheus.exporters.node.port]; }; nix.settings.allowed-users = ["bob"]; diff --git a/hosts/atlas/prometheus.nix b/hosts/atlas/prometheus.nix deleted file mode 100644 index 041c407..0000000 --- a/hosts/atlas/prometheus.nix +++ /dev/null @@ -1,14 +0,0 @@ -{config, ...}: { - networking.firewall.allowedTCPPorts = [config.services.prometheus.exporters.node.port]; - - services.prometheus.exporters.node = { - enable = true; - enabledCollectors = ["systemd"]; - }; - - getchoo.server.services.promtail.clients = [ - { - url = "http://p-body:3030/loki/api/v1/push"; - } - ]; -} |
