use autoUpgrade service instead of cachix deploy for better monitoring

This commit is contained in:
Jörg Thalheim 2022-08-10 13:02:19 +02:00
parent 9f62d6012c
commit e04003d670
6 changed files with 7 additions and 107 deletions

View file

@ -192,9 +192,3 @@ def cleanup_gcroots(c, hosts=""):
g = DeployGroup(get_hosts(hosts))
g.run("find /nix/var/nix/gcroots/auto -type s -delete")
g.run("systemctl restart nix-gc")
@task
def restart_cachix_deploy(c, hosts=""):
g = DeployGroup(get_hosts(hosts))
g.run("systemctl restart cachix-deploy-agent")