From 95f316bb5caa74d2560d89375f5402daec0cc755 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 13 Apr 2022 13:52:33 -0700 Subject: modules: set secrets --- modules/services/navidrome/default.nix | 4 +++- modules/services/transmission/default.nix | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/services/navidrome/default.nix b/modules/services/navidrome/default.nix index d813142..6ea0038 100644 --- a/modules/services/navidrome/default.nix +++ b/modules/services/navidrome/default.nix @@ -1,5 +1,7 @@ { config, pkgs, lib, ... }: -let cfg = config.my.services.navidrome; +let + cfg = config.my.services.navidrome; + secrets = config.age.secrets; in { options.my.services.navidrome = with lib; { enable = mkEnableOption "Navidrome Music Server"; diff --git a/modules/services/transmission/default.nix b/modules/services/transmission/default.nix index ac0ded0..dea7828 100644 --- a/modules/services/transmission/default.nix +++ b/modules/services/transmission/default.nix @@ -1,5 +1,7 @@ { config, lib, pkgs, ... }: -let cfg = config.my.services.transmission; +let + cfg = config.my.services.transmission; + secrets = config.age.secrets; in { options.my.services.transmission = with lib; { enable = mkEnableOption "transmission torrent server"; -- cgit 1.4.1