this repo has no description
1_: {
2 perSystem = {
3 config,
4 lib,
5 pkgs,
6 inputs',
7 self',
8 ...
9 }: {
10 devShells.default = pkgs.mkShell {
11 packages =
12 (with pkgs; [
13 (lib.hiPrio uutils-coreutils-noprefix)
14 git
15 nh
16 ])
17 # ++ lib.attrValues config.treefmt.build.programs
18 ++ [
19 inputs'.agenix.packages.default
20 inputs'.disko.packages.disko-install
21 inputs'.nynx.packages.nynx
22 self'.packages.gen-files
23 ];
24
25 shellHook = ''
26 echo "Installing pre-commit hooks..."
27 ${config.pre-commit.installationScript}
28 echo "Generating files..."
29 ${lib.getExe self'.packages.gen-files}
30 export FLAKE="." NH_FLAKE="."
31 echo "👋 Welcome to the nixcfg devShell!"
32 '';
33 };
34 };
35}