From ed73d7d16a5b55baf9a087e9a6fa5be3a902b4ac Mon Sep 17 00:00:00 2001 From: Conrad Kramer Date: Sun, 7 Jun 2026 06:03:14 -0700 Subject: [PATCH] Fix Nix cache bootstrap command --- nixos/modules/burrow-nix-cache.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/modules/burrow-nix-cache.nix b/nixos/modules/burrow-nix-cache.nix index 8a14a9d..420d3b9 100644 --- a/nixos/modules/burrow-nix-cache.nix +++ b/nixos/modules/burrow-nix-cache.nix @@ -104,6 +104,7 @@ in wantedBy = [ "multi-user.target" ]; path = [ pkgs.attic-client + pkgs.attic-server pkgs.coreutils ]; serviceConfig = { @@ -126,7 +127,7 @@ in if [ ! -s ${lib.escapeShellArg cfg.adminTokenFile} ]; then umask 077 - atticd-atticadm make-token \ + atticadm make-token \ --sub burrow-nix-cache-bootstrap \ --validity 10y \ --create-cache '*' \ @@ -149,7 +150,7 @@ in if [ ! -s ${lib.escapeShellArg cfg.ciPushTokenFile} ]; then umask 077 - atticd-atticadm make-token \ + atticadm make-token \ --sub burrow-ci-cache-publisher \ --validity ${lib.escapeShellArg cfg.ciPushTokenValidity} \ --pull ${lib.escapeShellArg cfg.cacheName} \