commit bff7a813d2816ee38db02f5d3101cfa2cacc9175
parent ee4ef764b9b8c330ddf40235fb81d8e7d5bc3825
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 6 May 2020 08:26:05 +0200
builds/nixos: add cachix configuration/push
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.builds/nixos.yml b/.builds/nixos.yml
@@ -1,6 +1,9 @@
image: nixos/latest
sources:
- https://gitlab.com/vdemeester/home.git
+secrets:
+ - 0818d60d-b587-4d4e-81d8-dc15072ccb97
tasks:
- pkgs: |
- nix-build home/pkgs
+ export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+ nix-build home/pkgs | cachix push shortbrain