diff options
-rw-r--r-- | configuration.nix | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/configuration.nix b/configuration.nix index b3820f7..4f7872d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -209,6 +209,20 @@ }; }; + # Back up home dir to the cloud too + systemd.user.services.rclone = { + wantedBy = [ "default.target" ]; + serviceConfig = { + ExecStart = "${pkgs.rclone}/bin/rclone sync . crypt: --transfers 32 --track-renames --track-renames-strategy modtime --copy-links --exclude '.*{/**,}'"; + }; + }; + systemd.user.timers.rclone = { + wantedBy = [ "timers.target" ]; + timerConfig = { + OnCalendar = "daily UTC"; + }; + }; + # https://unnamed.website/posts/switch-virtual-keyboard/ systemd.user.services.switch-virtual-keyboard = { wantedBy = [ "default.target" ]; @@ -234,20 +248,6 @@ ''; }; - # Back up home dir to the cloud too - systemd.user.services.rclone = { - wantedBy = [ "default.target" ]; - serviceConfig = { - ExecStart = "${pkgs.rclone}/bin/rclone sync . crypt: --transfers 32 --track-renames --track-renames-strategy modtime --copy-links --exclude '.*{/**,}'"; - }; - }; - systemd.user.timers.rclone = { - wantedBy = [ "timers.target" ]; - timerConfig = { - OnCalendar = "daily UTC"; - }; - }; - # TODO: delete this eventually nixpkgs.config.permittedInsecurePackages = [ "olm-3.2.16" |