Add devShell with agenix and colmena

This commit is contained in:
Ilya K 2024-07-05 12:43:53 +03:00 committed by Ilya K
parent 3ad481c125
commit 99f715caca
3 changed files with 12 additions and 1 deletions

2
.envrc Normal file
View file

@ -0,0 +1,2 @@
# shellcheck shell=bash
use flake

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
result result
.gcroots .gcroots
config.tf.json config.tf.json
.direnv

View file

@ -57,7 +57,15 @@
''); '');
}; };
}; };
defaultApp.${system} = self.apps.${system}.apply; apps.${system}.default = self.apps.${system}.apply;
devShells.${system}.default = pkgs.mkShell {
packages = [
inputs.agenix.packages.${system}.agenix
inputs.colmena.packages.${system}.colmena
];
};
colmena = { colmena = {
meta.nixpkgs = import nixpkgs { meta.nixpkgs = import nixpkgs {
localSystem = system; localSystem = system;