summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-09-02 12:49:37 +0200
committermakefu <github@syntax-fehler.de>2016-09-02 12:49:37 +0200
commit50eea6cd812efc65babdea728515ac496055539a (patch)
tree52a83ffa3bffcaa2fd104ff4795b35113e4159ea
parent1258b4c7d20512c1afe0f3b0eceb52335e4155b9 (diff)
m 2 x: add laptop-backup
-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";
+ };
+ };
+}