summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-12-29 20:49:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-12-29 20:49:03 +0100
commit9b064c8ac18710af14c3471b42afa8ca193199c9 (patch)
tree41600f7f89292002e980966f37f70b4fd65a4098
parentb861d607deb155465dfc95bbc5f79843c1dc0036 (diff)
downloadnixos-9b064c8ac18710af14c3471b42afa8ca193199c9.tar
nixos-9b064c8ac18710af14c3471b42afa8ca193199c9.tar.gz
nixos-9b064c8ac18710af14c3471b42afa8ca193199c9.tar.bz2
nixos-9b064c8ac18710af14c3471b42afa8ca193199c9.tar.xz
nixos-9b064c8ac18710af14c3471b42afa8ca193199c9.zip
...
-rw-r--r--modules/prometheus-lvm-exporter.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/prometheus-lvm-exporter.nix b/modules/prometheus-lvm-exporter.nix
index fe5c4efa..7ef082c3 100644
--- a/modules/prometheus-lvm-exporter.nix
+++ b/modules/prometheus-lvm-exporter.nix
@@ -11,7 +11,7 @@ in {
11 11
12 listenAddress = mkOption { 12 listenAddress = mkOption {
13 type = types.nullOr types.str; 13 type = types.nullOr types.str;
14 default = null; 14 default = "127.0.0.1";
15 }; 15 };
16 port = mkOption { 16 port = mkOption {
17 type = types.port; 17 type = types.port;
@@ -51,6 +51,7 @@ in {
51 ]}"; 51 ]}";
52 52
53 Restart = "always"; 53 Restart = "always";
54 Sockets = "prometheus-lvm-exporter.socket";
54 }; 55 };
55 }; 56 };
56 57