diff options
author | Anthony Wang | 2025-04-06 13:37:47 -0400 |
---|---|---|
committer | Anthony Wang | 2025-04-06 13:37:47 -0400 |
commit | 7a0a9d9202c447e25287300f8ee18e6ec32e1a98 (patch) | |
tree | 8b56b2a2ebbb5e8b016e70fe5fdaeee9025f65ca | |
parent | 74e65cffb2cc2f300f7631311b42f2a88d156341 (diff) |
Move all backup-related stuff to same section
-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" |