nixos-config/modules/flake-parts/devshell.nix
Sridhar Ratnakumar a883d43583 nom
2025-01-27 11:28:25 -05:00

24 lines
552 B
Nix

{ inputs, ... }:
{
imports = [
(inputs.git-hooks + /flake-module.nix)
];
perSystem = { inputs', config, pkgs, ... }: {
devShells.default = pkgs.mkShell {
name = "nixos-config-shell";
meta.description = "Dev environment for nixos-config";
inputsFrom = [ config.pre-commit.devShell ];
packages = with pkgs; [
just
colmena
nixd
nix-output-monitor
inputs'.agenix.packages.default
];
};
pre-commit.settings = {
hooks.nixpkgs-fmt.enable = true;
};
};
}