diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-13 10:40:41 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-13 10:40:41 +0300 |
commit | a3f9fde2a2d43dd477f402bd4b8df2a1cd29ca43 (patch) | |
tree | cbd0c2457daa6865eb33b5389ec40309e60868a9 /nixosConfigurations | |
parent | 2023-11-12 (diff) |
2023-11-13
Diffstat (limited to '')
-rw-r--r-- | nixosConfigurations/varda/default.nix | 3 | ||||
-rw-r--r-- | nixosConfigurations/yavanna/default.nix | 23 |
2 files changed, 2 insertions, 24 deletions
diff --git a/nixosConfigurations/varda/default.nix b/nixosConfigurations/varda/default.nix index 230521e..7d4b5bc 100644 --- a/nixosConfigurations/varda/default.nix +++ b/nixosConfigurations/varda/default.nix @@ -1,5 +1,4 @@ -{lib, ...}: -with lib; { +_: { nixfiles.modules = { wireguard.client.enable = true; diff --git a/nixosConfigurations/yavanna/default.nix b/nixosConfigurations/yavanna/default.nix index 6f0d848..4f0d43c 100644 --- a/nixosConfigurations/yavanna/default.nix +++ b/nixosConfigurations/yavanna/default.nix @@ -1,11 +1,4 @@ -{ - config, - pkgs, - inputs, - lib, - ... -}: -with lib; { +_: { nixfiles.modules = { wireguard.client.enable = true; @@ -18,20 +11,6 @@ with lib; { jackett.enable = true; }; - # TODO Wait for https://github.com/NixOS/nixpkgs/pull/265696 - disabledModules = ["services/monitoring/prometheus/exporters.nix"]; - imports = ["${inputs.nixpkgs-local}/nixos/modules/services/monitoring/prometheus/exporters.nix"]; - services.prometheus.exporters.exportarr-lidarr = { - enable = true; - url = "http://127.0.0.1"; - apiKeyFile = pkgs.writeText "api-key" "5a4311dd98a240b6a9fe0cac9146341e"; - port = mkDefault 9708; - inherit (config.services.lidarr) user; - inherit (config.services.lidarr) group; - listenAddress = this.wireguard.ipv4.address; - environment.CONFIG = "/var/lib/lidarr/.config/Lidarr/config.xml"; - }; - boot.loader.grub = { enable = true; device = "/dev/sda"; |