From f25509454ca1c1014a9298dd959d673499f889ab Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 28 May 2024 11:05:33 -0700 Subject: [PATCH] Define hostSecrets --- paris-container.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paris-container.nix b/paris-container.nix index ffbba9c..435f1bb 100644 --- a/paris-container.nix +++ b/paris-container.nix @@ -6,6 +6,10 @@ let packages = with pkgs; [ rtorrent ]; + hostname = config.instance.hostname; + + hostSecrets = config.fudo.secrets.host-secrets."${hostname}"; + in { options.fudo.paris-container = with types; { enable = mkEnableOption "Enable Fudo Paris user server.";