diff --git a/modules/secrets/generate-secrets.nix b/modules/secrets/generate-secrets.nix index c9a38aa..493c8ff 100644 --- a/modules/secrets/generate-secrets.nix +++ b/modules/secrets/generate-secrets.nix @@ -14,7 +14,7 @@ with lib; serviceConfig = { Type = "oneshot"; RemainAfterExit = true; - } // config.nix-bitcoin-services.defaultHardening; + }; script = '' mkdir -p "${config.nix-bitcoin.secretsDir}" cd "${config.nix-bitcoin.secretsDir}" diff --git a/modules/secrets/secrets.nix b/modules/secrets/secrets.nix index 163346d..0149289 100644 --- a/modules/secrets/secrets.nix +++ b/modules/secrets/secrets.nix @@ -56,7 +56,7 @@ in serviceConfig = { Type = "oneshot"; RemainAfterExit = true; - } // config.nix-bitcoin-services.defaultHardening; + }; script = '' setupSecret() { file="$1"