aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/nas.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-28 19:13:31 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-28 19:14:30 -0800
commitea50f9d68c48415883a9f9cb2e014526bb4236ff (patch)
treee62bae9b116376dbeb28ca6b51f67d3903fe7f2e /hosts/common/nas.nix
parentusers: change my ssh key for the laptop (diff)
downloadinfra-ea50f9d68c48415883a9f9cb2e014526bb4236ff.tar.gz
prometheus: initial configuration for the server
Run prometheus via systemd, and configure to pull node-exporter's metrics from two hosts. The retention is set for 3 years.
Diffstat (limited to 'hosts/common/nas.nix')
-rw-r--r--hosts/common/nas.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/common/nas.nix b/hosts/common/nas.nix
index 3f38792..8ab11a8 100644
--- a/hosts/common/nas.nix
+++ b/hosts/common/nas.nix
@@ -4,5 +4,6 @@
imports = [
./server/default.nix
./server/samba.nix
+ ./server/prometheus.nix
];
}