diff --git a/.gitleaksignore b/.gitleaksignore deleted file mode 100644 index f69457e..0000000 --- a/.gitleaksignore +++ /dev/null @@ -1 +0,0 @@ -nixos/modules/nixos/services/adguardhome/default.nix:hashicorp-tf-password:47 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1cb049b..c4b880c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: hooks: - args: - --config-file - - .github/lint/.yamllint.yaml + - .yamllint.yaml id: yamllint - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..9cb571b --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,27 @@ +--- +ignore: | + .direnv/ + .private/ + .vscode/ + *.sops.* + +extends: default + +rules: + truthy: + allowed-values: ["true", "false", "on"] + + comments: + min-spaces-from-content: 1 + + line-length: disable + + braces: + min-spaces-inside: 0 + max-spaces-inside: 1 + + brackets: + min-spaces-inside: 0 + max-spaces-inside: 0 + + indentation: enable diff --git a/Taskfile.yaml b/Taskfile.yaml index db2ec4d..c544229 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -3,12 +3,9 @@ version: "3" includes: - sop: + sops: taskfile: ".taskfiles/sops" dir: .taskfiles/sops - nix: - taskfile: ".taskfiles/nix" - dir: "{{.ROOT_DIR}}" pre: taskfile: ".taskfiles/pre-commit" dir: "{{.ROOT_DOR}}"