move agenix env to the shell in flake.nix

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-27 22:38:43 +03:00
parent a208dbf340
commit a250e5e0de
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 3 additions and 2 deletions

2
.envrc
View file

@ -1,3 +1 @@
use flake use flake
export RULES=./.agenix_config.nix

View file

@ -91,6 +91,9 @@
ormolu # haskell formatter ormolu # haskell formatter
inputs.agenix.packages.${system}.agenix inputs.agenix.packages.${system}.agenix
]; ];
# Path to the agenix configuration file
RULES = "./.agenix_config.nix";
}; };
tools = pkgs.mkShell { tools = pkgs.mkShell {
packages = [ pkgs.gucharmap ]; packages = [ pkgs.gucharmap ];