diff options
author | makefu <github@syntax-fehler.de> | 2016-09-02 12:49:37 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-09-02 12:49:37 +0200 |
commit | 50eea6cd812efc65babdea728515ac496055539a (patch) | |
tree | 52a83ffa3bffcaa2fd104ff4795b35113e4159ea | |
parent | 1258b4c7d20512c1afe0f3b0eceb52335e4155b9 (diff) |
m 2 x: add laptop-backup
-rw-r--r-- | makefu/2configs/laptop-backup.nix | 12 |
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"; + }; + }; +} |