From 9714ee2bd90ec358d58d02f7b492677b1b6a1c6a Mon Sep 17 00:00:00 2001 From: Victor Date: Thu, 25 May 2023 23:26:57 +0200 Subject: [PATCH] aaa --- .woodpecker.yml | 3 ++- nixos/pkgs/plex-pass/update.sh | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 3a129bd..0697ce1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,7 +4,7 @@ pipeline: 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#statix' check . - nix run 'nixpkgs#deadnix' -- -f - nix run 'nixpkgs#yamllint' . volumes: @@ -14,6 +14,7 @@ pipeline: 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 volumes: - /nix:/mnt/nix:ro diff --git a/nixos/pkgs/plex-pass/update.sh b/nixos/pkgs/plex-pass/update.sh index 71ca8ec..4dc8e12 100755 --- a/nixos/pkgs/plex-pass/update.sh +++ b/nixos/pkgs/plex-pass/update.sh @@ -1,5 +1,4 @@ -#! /usr/bin/env nix-shell -#! nix-shell -i bash -p jq curl vault coreutils +#! /usr/bin/env bash set -x shopt -s extglob