From a250e5e0de8e63188f7cea6767df6f85928a4e78 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 27 Oct 2022 22:38:43 +0300 Subject: [PATCH] move agenix env to the shell in flake.nix --- .envrc | 2 -- flake.nix | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.envrc b/.envrc index dc897fd..3550a30 100644 --- a/.envrc +++ b/.envrc @@ -1,3 +1 @@ use flake - -export RULES=./.agenix_config.nix diff --git a/flake.nix b/flake.nix index 86ab5f4..4a90b1f 100644 --- a/flake.nix +++ b/flake.nix @@ -91,6 +91,9 @@ ormolu # haskell formatter inputs.agenix.packages.${system}.agenix ]; + + # Path to the agenix configuration file + RULES = "./.agenix_config.nix"; }; tools = pkgs.mkShell { packages = [ pkgs.gucharmap ];