summaryrefslogtreecommitdiffstats
path: root/2configs/laptop-backup.nix
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
commit0da02fd00e57976d7173c2e2bb55274cbfb9a268 (patch)
treeba9154330f361a830050e5b4f28d20129fe89462 /2configs/laptop-backup.nix
parent4ea7dfe03a25ef38be37230ff5de65a899bc4570 (diff)
m 2 x: add laptop-backup
Diffstat (limited to '2configs/laptop-backup.nix')
-rw-r--r--2configs/laptop-backup.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/2configs/laptop-backup.nix b/2configs/laptop-backup.nix
new file mode 100644
index 000000000..8df7043c8
--- /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";
+ };
+ };
+}