From 5d5cd6b87bf44fc8eedce67abecee92ec58a2e96 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Thu, 15 Aug 2024 06:41:01 +0200 Subject: [PATCH] remove dependency on sops-nix fixes #24 --- CHANGELOG.md | 1 + docs/usage.md | 10 ---------- flake.nix | 1 - 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01f404c..81c7d4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Breaking Changes +- Remove dependency on `sops-nix`. - Rename `shb.nginx.autheliaProtect` to `shb.nginx.vhosts`. Indeed, the option allows to define a vhost with _optional_ Authelia protection but the former name made it look like Authelia protection was enforced. - Rename all `shb.arr.*.APIKey` to `shb.arr.*.ApiKey`. - Remove `shb.vaultwarden.ldapEndpoint` option because it was not used in the implementation anyway. diff --git a/docs/usage.md b/docs/usage.md index 5d446ea..28daa25 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -28,16 +28,6 @@ nix.settings.substituters = [ ]; ``` -For now, Self Host Blocks has a hard dependency on `sops-nix`. I am [working on removing -that](https://github.com/ibizaman/selfhostblocks/issues/24) so you can use any secrets manager you -want. Until then, you also need to import the `sops-nix` module: - -```nix -imports = [ - inputs.selfhostblocks.inputs.sops-nix.nixosModules.default -]; -``` - Self Host Blocks provides its own `nixpkgs` input so both can be updated in lock step, ensuring maximum compatibility. It is recommended to use the following `nixpkgs` as input for your deployments. Also, patches can be applied by Self Host Blocks. To handle all this, you need the diff --git a/flake.nix b/flake.nix index 849432a..cb21bfb 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,6 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - sops-nix.url = "github:Mic92/sops-nix"; nix-flake-tests.url = "github:antifuchs/nix-flake-tests"; flake-utils.url = "github:numtide/flake-utils"; nmdsrc = {