1
0
Fork 0

all: remove drv cache upload

This commit is contained in:
Daniel Kempkens 2024-12-08 20:48:32 +01:00
parent 323a746c29
commit d3ec97ddc8
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -26,7 +26,6 @@ deploy-local-machine target type=defaultLocalType: _git-pull (build-local-machin
env TERM=xterm-256color {{type}}-rebuild switch --flake ".#{{target}}"
sync
attic push nifoc-systems /run/current-system
nix path-info --derivation /run/current-system | xargs attic push nifoc-systems ;
find ./.direnv -maxdepth 1 -name 'flake-profile-*' -type l -exec attic push nifoc-systems {} \;
# Deploy to a remote machine
@ -34,7 +33,6 @@ deploy-local-machine target type=defaultLocalType: _git-pull (build-local-machin
deploy-remote-machine target type=defaultRemoteType: _git-pull (build-remote-machine target type)
deploy --skip-checks '.#{{target}}'
ssh -t '{{target}}' 'attic push nifoc-systems /run/current-system'
ssh -t '{{target}}' 'nix path-info --derivation /run/current-system | xargs attic push nifoc-systems ;'
_git-pull:
-git pull