summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/laptop-backup.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-10-11 17:54:00 +0200
committerlassulus <lass@aidsballs.de>2016-10-11 17:54:00 +0200
commit798f90c0fd8931ef114f7c7db32daa9f15824733 (patch)
treee241892be8c85d05d297f11a5d312d41e2cb8f66 /makefu/2configs/laptop-backup.nix
parentb6c5994e037ab92055f5cfdeb89f46864b348b39 (diff)
parentfa5816431ce0314b1c3260c763a87922b0ad485b (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/2configs/laptop-backup.nix')
-rw-r--r--makefu/2configs/laptop-backup.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefu/2configs/laptop-backup.nix b/makefu/2configs/laptop-backup.nix
new file mode 100644
index 000000000..8df7043c8
--- /dev/null
+++ b/makefu/2configs/laptop-backup.nix
@@ -0,0 +1,12 @@
+{config, lib, pkgs, ... }:
+
+{
+ systemd.user.services.duply-secrets = {
+ description = "run daily secrets backup";
+ startAt = "daily";
+ serviceConfig = {
+ Type = "oneshot";
+ ExecStart = "{pkgs.duply}/bin/duply omo-secrets backup";
+ };
+ };
+}