This commit is contained in:
Michael Lehmann
2024-12-20 21:56:58 +01:00
commit 236970f477
36 changed files with 2553 additions and 0 deletions

44
devenv.nix Normal file
View 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/
}