diff --git a/.woodpecker/sync.yml b/.woodpecker/sync.yml index 2f4eaa9a..c2527f9a 100644 --- a/.woodpecker/sync.yml +++ b/.woodpecker/sync.yml @@ -5,8 +5,9 @@ pipeline: pull: true commands: - mkdir -p ~/.config/nix - - echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf - - echo "sandbox = false" >> ~/.config/nix/nix.conf + - echo "store = /var/build-nix-store" >> /etc/nix/nix.conf + - echo "sandbox = false" >> /etc/nix/nix.conf + - cat /etc/nix/nix.conf - nix develop -c git lfs fetch --all - nix develop -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git - nix develop -c git push github --all --force diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 85f3bc9c..1bb96a84 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -5,8 +5,9 @@ pipeline: pull: true commands: - mkdir -p ~/.config/nix - - echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf - - echo "sandbox = false" >> ~/.config/nix/nix.conf + - echo "store = /var/build-nix-store" >> /etc/nix/nix.conf + - echo "sandbox = false" >> /etc/nix/nix.conf + - cat /etc/nix/nix.conf - time nix flake metadata - time nix --no-sandbox develop -c statix check - time nix flake check