From: Ismaƫl Bouya Date: Wed, 4 Oct 2023 00:15:53 +0000 (+0200) Subject: Remove suggestion about local secrets X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=commitdiff_plain;h=5aa3ef5e99b487d4e56d01d3113f90dbe3ee6dd2 Remove suggestion about local secrets --- 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 = ""; }