From c000eaf6fa80d396376bf26d63fc96f1f9598c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 27 May 2024 16:11:15 +0200 Subject: [PATCH] Remove restic --- _machines/ares.yml | 1 - _machines/neptune.yml | 2 -- autostart/autostart.target.j2 | 1 - autostart/services/restic.service | 8 -------- autostart/services/restic.timer | 6 ------ zsh/zprofile.j2 | 1 - 6 files changed, 19 deletions(-) delete mode 100644 autostart/services/restic.service delete mode 100644 autostart/services/restic.timer diff --git a/_machines/ares.yml b/_machines/ares.yml index c8daf8a..179a1a2 100644 --- a/_machines/ares.yml +++ b/_machines/ares.yml @@ -62,6 +62,5 @@ environment: MACHINE_HAS_KEEPASSX: "false" MACHINE_HAS_NEXTCLOUD: "true" MACHINE_HAS_STEAM: "true" - MACHINE_HAS_RESTIC_BACKUP: "false" MACHINE_RESOLUTION_X: "2560" MACHINE_RESOLUTION_Y: "1440" diff --git a/_machines/neptune.yml b/_machines/neptune.yml index 0594f17..8238fbd 100644 --- a/_machines/neptune.yml +++ b/_machines/neptune.yml @@ -25,7 +25,6 @@ users: gpg_agent_for_ssh: false environment: MACHINE_HAS_NEXTCLOUD: "false" - MACHINE_HAS_RESTIC_BACKUP: "false" MACHINE_HAS_KEEPASSX: "false" repositories: [] @@ -53,7 +52,6 @@ users: enable_passwordstore: true environment: MACHINE_HAS_NEXTCLOUD: "true" - MACHINE_HAS_RESTIC_BACKUP: "false" MACHINE_HAS_KEEPASSX: "false" repositories: - personal_projects diff --git a/autostart/autostart.target.j2 b/autostart/autostart.target.j2 index 17b47dc..6b3affd 100644 --- a/autostart/autostart.target.j2 +++ b/autostart/autostart.target.j2 @@ -23,7 +23,6 @@ Wants=nextcloud.service Wants=nm-applet.service Wants=pasystray.service Wants=redshift.service -Wants=restic.timer Wants=spotify.service Wants=steam.service Wants=touchpad.service diff --git a/autostart/services/restic.service b/autostart/services/restic.service deleted file mode 100644 index efad5ae..0000000 --- a/autostart/services/restic.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -ConditionPathExists=%t/features/restic_backup - -[Service] -Type=oneshot -ExecStart=%h/restic/restic-backup -RemainAfterExit=true -PassEnvironment=DISPLAY diff --git a/autostart/services/restic.timer b/autostart/services/restic.timer deleted file mode 100644 index 3a6de37..0000000 --- a/autostart/services/restic.timer +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -BindsTo=autostart.target -After=windowmanager.target - -[Timer] -OnCalendar=Mon..Fri 12:00:00 diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 022ebe0..c934963 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -79,7 +79,6 @@ mkdir -p "${feature_dir}" [[ $MACHINE_HAS_NEXTCLOUD == "true" ]] && touch "${feature_dir}"/nextcloud [[ $MACHINE_HAS_KEEPASSX == "true" ]] && touch "${feature_dir}"/keepassx [[ $MACHINE_HAS_STEAM == "true" ]] && touch "${feature_dir}"/steam -[[ $MACHINE_HAS_RESTIC_BACKUP == "true" ]] && touch "${feature_dir}"/restic_backup [[ $MACHINE_TYPE == "laptop" ]] && touch "${feature_dir}"/machine_is_laptop