about summary refs log tree commit diff
path: root/users/grfn/system/system/default.nix
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-05-23T11·58+0200
committergrfn <grfn@gws.fyi>2021-06-12T15·51+0000
commit702594ca64c6d9d7c29ee581a3ba1e1458746033 (patch)
tree0f6c5c04ad6de613534039b2948a8eb0c982edbf /users/grfn/system/system/default.nix
parent8587bb5f67e6c3cd80fd10d98e375c1b4ca0b271 (diff)
refactor(ops): Break out prometheus-fail2ban-exporter module r/2651
Break out the configuration for the prometheus fail2ban exporter, which
is a simple python script that exports stats from fail2ban as a
prometheus-scrapable textfile, from Mugwump into a reusable nixos module
in //ops/nixos/modules.

Change-Id: I5451c9c5de6c7bc4431150ae596a9c758bf1b693
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3136
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'users/grfn/system/system/default.nix')
-rw-r--r--users/grfn/system/system/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/users/grfn/system/system/default.nix b/users/grfn/system/system/default.nix
index 503b3a2046..489be1369b 100644
--- a/users/grfn/system/system/default.nix
+++ b/users/grfn/system/system/default.nix
@@ -9,9 +9,7 @@ rec {
 
   mugwump = import ./machines/mugwump.nix;
 
-  mugwumpSystem = (depot.third_party.nixos {
-    configuration = mugwump;
-  }).system;
+  mugwumpSystem = (depot.ops.nixos.nixosFor mugwump).system;
 
   roswell = import ./machines/roswell.nix;