about summary refs log tree commit diff
path: root/users/wpcarro
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-17T00·49-0500
committerclbot <clbot@tvl.fyi>2021-12-26T14·55+0000
commit80ef71e9958d0effe0ea1e1fb39b7200e02eff70 (patch)
tree8b47e0210cb8fcaf255aafb27ffe6faac0dd2f5e /users/wpcarro
parent1d10adb67ccf87cc7461be71905b1ee2378b7c73 (diff)
feat(ops/auto-deploy): Support auto-deploy r/3414
Automatically rebuild the current system's NixOS config from the latest checkout
of depot.

Change-Id: I23aa7af50e16e985ac34df214e0905e770316e5e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4390
Reviewed-by: wpcarro <wpcarro@gmail.com>
Reviewed-by: zseri <zseri.devel@ytrizja.de>
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro')
-rw-r--r--users/wpcarro/nixos/diogenes/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/diogenes/default.nix b/users/wpcarro/nixos/diogenes/default.nix
index af49f33aa1a1..fd710d804b07 100644
--- a/users/wpcarro/nixos/diogenes/default.nix
+++ b/users/wpcarro/nixos/diogenes/default.nix
@@ -68,6 +68,11 @@ in {
       ];
     };
 
+    depot.auto-deploy = {
+      enable = true;
+      interval = "1h";
+    };
+
     journaldriver = {
       enable = true;
       logStream = "home";