nixos-config/devenv.nix
2023-06-07 22:27:35 -04:00

30 lines
700 B
Nix

{ pkgs, ... }:
{
# https://devenv.sh/basics/
env.GREET = "devenv";
# https://devenv.sh/packages/
packages = [ pkgs.git ];
# https://devenv.sh/scripts/
#scripts.hello.exec = "echo hello from $GREET";
#enterShell = ''
# hello
# git --version
#'';
# https://devenv.sh/languages/
# languages.nix.enable = true;
# https://devenv.sh/pre-commit-hooks/
# pre-commit.hooks.shellcheck.enable = true;
pre-commit.hooks.nixpkgs-fmt.enable = true;
pre-commit.hooks.deadnix.enable = true;
pre-commit.hooks.statix.enable = true;
# https://devenv.sh/processes/
# processes.ping.exec = "ping example.com";
# See full reference at https://devenv.sh/reference/options/
}