Init
This commit is contained in:
44
devenv.nix
Normal file
44
devenv.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
# https://devenv.sh/basics/
|
||||
env.GREET = "IPTV Environment";
|
||||
|
||||
# https://devenv.sh/packages/
|
||||
packages = [];
|
||||
|
||||
# https://devenv.sh/languages/
|
||||
languages.go = {
|
||||
enable = true;
|
||||
enableHardeningWorkaround = true;
|
||||
};
|
||||
# https://devenv.sh/processes/
|
||||
# processes.cargo-watch.exec = "cargo-watch";
|
||||
|
||||
# https://devenv.sh/services/
|
||||
# services.postgres.enable = true;
|
||||
|
||||
# https://devenv.sh/scripts/
|
||||
scripts.hello.exec = ''
|
||||
echo hello from $GREET
|
||||
'';
|
||||
|
||||
enterShell = ''
|
||||
zsh
|
||||
'';
|
||||
|
||||
# https://devenv.sh/tests/
|
||||
#enterTest = ''
|
||||
#echo "Running tests"
|
||||
#git --version | grep --color=auto "${pkgs.git.version}"
|
||||
#'';
|
||||
|
||||
# https://devenv.sh/pre-commit-hooks/
|
||||
# pre-commit.hooks.shellcheck.enable = true;
|
||||
|
||||
# See full reference at https://devenv.sh/reference/options/
|
||||
}
|
||||
Reference in New Issue
Block a user