all: cache derivers
This commit is contained in:
parent
8dc142e60e
commit
4252e3590c
3 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
virtualisation.oci-containers.containers = {
|
||||
tubearchivist = {
|
||||
image = "docker.io/bbilly1/tubearchivist:v0.4.10";
|
||||
image = "docker.io/bbilly1/tubearchivist:v0.4.11";
|
||||
dependsOn = [ "archivist-es" "archivist-redis" ];
|
||||
ports = [ "127.0.0.1:9887:8000" ];
|
||||
environmentFiles = [ config.age.secrets.tubearchivist-environment-ta.path ];
|
||||
|
|
4
justfile
4
justfile
|
@ -26,13 +26,15 @@ 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
|
||||
[group('deploy')]
|
||||
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}}' '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
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue