This commit is contained in:
Adithya 2024-01-04 21:51:32 +05:30
parent 406fb69029
commit 9094d22fa5
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 17 additions and 18 deletions

View file

@ -100,22 +100,21 @@
}; };
}; };
} }
// flake-utils.lib.eachDefaultSystem ( // flake-utils.lib.eachDefaultSystem (system:
system: let
let pkgs = import nixpkgs {
pkgs = import nixpkgs { inherit system;
inherit system; };
}; in
in with pkgs; {
with pkgs; { formatter = nixpkgs-fmt;
formatter = nixpkgs-fmt; devShells.default = mkShell {
devShells.default = mkShell { buildInputs = [
buildInputs = [ git
git git-crypt
git-crypt statix
statix ];
]; };
}; }
}
); );
} }

View file

@ -1,4 +1,4 @@
{pkgs, flake_env, ...}: { { pkgs, flake_env, ... }: {
programs.direnv = { programs.direnv = {
enable = true; enable = true;
nix-direnv.enable = true; nix-direnv.enable = true;