This commit is contained in:
parent
6cc74ba970
commit
c3628a1050
3 changed files with 20 additions and 0 deletions
1
.envrc
1
.envrc
|
@ -1 +1,2 @@
|
||||||
export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)"
|
export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)"
|
||||||
|
use nix
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -14,6 +14,9 @@
|
||||||
# Ignore the built binary
|
# Ignore the built binary
|
||||||
cert-manager-webhook-example
|
cert-manager-webhook-example
|
||||||
|
|
||||||
|
# direnv nix binaries
|
||||||
|
.direnv
|
||||||
|
|
||||||
# Make artifacts
|
# Make artifacts
|
||||||
_out
|
_out
|
||||||
_test
|
_test
|
||||||
|
|
16
shell.nix
Normal file
16
shell.nix
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# Shell for bootstrapping flake-enabled nix and home-manager
|
||||||
|
{pkgs ? import <nixpkgs> {}}:
|
||||||
|
pkgs.mkShell {
|
||||||
|
# Enable experimental features without having to specify the argument
|
||||||
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
||||||
|
|
||||||
|
nativeBuildInputs = with pkgs; [
|
||||||
|
git
|
||||||
|
gitleaks
|
||||||
|
go-task
|
||||||
|
pre-commit
|
||||||
|
sops
|
||||||
|
gnumake
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue