forked from aylac.top/nixcfg
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 self'.packages.gen-files 22 ]; 23 24 shellHook = '' 25 echo "Installing pre-commit hooks..." 26 ${config.pre-commit.installationScript} 27 echo "Generating files..." 28 ${lib.getExe self'.packages.gen-files} 29 export FLAKE="." NH_FLAKE="." 30 echo "👋 Welcome to the nixcfg devShell!" 31 ''; 32 }; 33 }; 34}