From 5aa3ef5e99b487d4e56d01d3113f90dbe3ee6dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 02:15:53 +0200 Subject: Remove suggestion about local secrets --- deploy/flake.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deploy/flake.nix b/deploy/flake.nix index cb7a973..f77528c 100644 --- a/deploy/flake.nix +++ b/deploy/flake.nix @@ -2,9 +2,6 @@ inputs = { devshell.url = "github:numtide/devshell"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable?dir=lib"; - # Uncomment temporarily below value and replace with local path to - # your secrets, and replace "follows" key below to use it. - #secrets-local.url = "path:/home/immae/projets/mes_sites/nixops-secrets"; secrets = { type = "git"; url = "git+ssh://gitolite@git.immae.eu/perso/Immae/Config/Nix/Nixops/Secrets"; @@ -14,7 +11,7 @@ main-flake.inputs.secrets.follows = "secrets"; }; outputs = inputs@{ self, nixpkgs, main-flake, devshell, ... }: { - sops-vars-file = (inputs.secrets-local or inputs.secrets).vars-file; + sops-vars-file = inputs.secrets.vars-file; devShells.x86_64-linux.default = devshell.legacyPackages.x86_64-linux.mkShell { env = [ { name = "NIX_BUILD_TOP"; value = ""; } -- cgit v1.2.3