From 3fdb9f00a377c2612c5abada2d4891de93925781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 26 Jun 2022 14:37:57 +0100 Subject: [PATCH] readd nix config init --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 4431efe..2d2ea7f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,9 @@ steps: - name: buildImage image: git.chir.rs/darkkirb/nixos-containers:buildimage commands: + - echo "substituters = https://cache.nixos.org/ https://f000.backblazeb2.com/file/cache-chir-rs/" >> /etc/nix/nix.conf + - echo "trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" >> /etc/nix/nix.conf + - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf - nix build '.#buildImage' - ./result | gzip --fast | skopeo copy --dest-creds=darkkirb:$GITEA_KEY docker-archive:/dev/stdin docker://git.chir.rs/darkkirb/nixos-containers:buildImage --dest-compress-format gzip --dest-compress-level 9 environment: