aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2025-04-06 13:37:47 -0400
committerAnthony Wang2025-04-06 13:37:47 -0400
commit7a0a9d9202c447e25287300f8ee18e6ec32e1a98 (patch)
tree8b56b2a2ebbb5e8b016e70fe5fdaeee9025f65ca
parent74e65cffb2cc2f300f7631311b42f2a88d156341 (diff)
Move all backup-related stuff to same section
-rw-r--r--configuration.nix28
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"