Fix Nix cache bootstrap command
Some checks failed
Cache: Publish Nix / Publish Nix Cache (push) Waiting to run
Build Rust / Cargo Test (push) Successful in 4m40s
Build Site / Next.js Build (push) Failing after 6s
Lint Governance / BEP Metadata (push) Successful in 1s

This commit is contained in:
Conrad Kramer 2026-06-07 06:03:14 -07:00
parent 0faaa806b6
commit ed73d7d16a

View file

@ -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} \