diff --git a/lefthook.yaml b/lefthook.yaml deleted file mode 100644 index ced9740..0000000 --- a/lefthook.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -skip_output: [meta, success] -no_tty: true - -commit-msg: - commands: - lint:commitmsg: - run: cat {1} | convco check --from-stdin -pre-push: - parallel: false - commands: - check:nix: - tags: check - run: nix flake check diff --git a/taskfile.yaml b/taskfile.yaml deleted file mode 100644 index beafb64..0000000 --- a/taskfile.yaml +++ /dev/null @@ -1,47 +0,0 @@ ---- -version: "3" -set: [errexit, pipefail, nounset] -shopt: [globstar] -tasks: - check:sh: - cmds: - - shellcheck **/*.sh - sources: - - "**/*.sh" - check:typos: - cmds: - - typos . - check:flake: - cmds: - - nix flake check - sources: - - "**/*.nix" - - build:*: - silent: true - vars: - TARGET: "{{index .MATCH 0}}" - cmds: - - nixos-rebuild --flake .#{{.TARGET}} build - sources: - - "**/*.nix" - - switch:*: - silent: true - vars: - TARGET: "{{index .MATCH 0}}" - requires: - vars: [TARGET] - cmds: - - doas nixos-rebuild --flake .#{{}} switch - sources: - - "**/*.nix" - - test:*: - silent: true - vars: - TARGET: "{{index .MATCH 0}}" - cmds: - - doas nixos-rebuild --flake .#{{.TARGET}} test - sources: - - "**/*.nix"