diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml new file mode 100644 index 0000000..49f43ed --- /dev/null +++ b/.forgejo/workflows/lint.yml @@ -0,0 +1,12 @@ +name: Lint + +on: [push] + +jobs: + lint: + runs-on: native + steps: + - uses: actions/checkout@v3 + - run: statix check . + - run: deadnix -f + - run: yamllint . diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index b6e586d..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,23 +0,0 @@ -pipeline: - check: - image: nixos/nix:2.15.1 - commands: - - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf - - echo "store = unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt" >> /etc/nix/nix.conf - - nix run 'nixpkgs#statix' check . - - nix run 'nixpkgs#deadnix' -- -f - - nix run 'nixpkgs#yamllint' . -<<<<<<< HEAD -======= - volumes: - - /nix:/mnt/nix:ro - update_plex: - image: nixos/nix:2.15.1 - commands: - - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf - - echo "store = unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt" >> /etc/nix/nix.conf - - nix profile install 'nixpkgs#jq' 'nixpkgs#curl' 'nixpkgs#vault' - - ./nixos/pkgs/plex-pass/update.sh ->>>>>>> 9714ee2bd90ec358d58d02f7b492677b1b6a1c6a - volumes: - - /nix:/mnt/nix:ro diff --git a/nixos/hosts/olympus/woodpecker/configuration.nix b/nixos/hosts/olympus/woodpecker/configuration.nix index 9c5d0c2..0062a59 100644 --- a/nixos/hosts/olympus/woodpecker/configuration.nix +++ b/nixos/hosts/olympus/woodpecker/configuration.nix @@ -63,6 +63,9 @@ in { gnused jq nodejs + statix + deadnix + yamllint nixUnstable vault wget