From 0da02fd00e57976d7173c2e2bb55274cbfb9a268 Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Fri, 2 Sep 2016 12:49:37 +0200
Subject: [PATCH] m 2 x: add laptop-backup

---
 2configs/laptop-backup.nix | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 2configs/laptop-backup.nix

diff --git a/2configs/laptop-backup.nix b/2configs/laptop-backup.nix
new file mode 100644
index 0000000..8df7043
--- /dev/null
+++ b/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";
+    };
+  };
+}