chore: add devenv
This commit is contained in:
parent
4deeb1a290
commit
baf63e2ac9
5 changed files with 203 additions and 0 deletions
30
devenv.nix
Normal file
30
devenv.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ 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/
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue