diff --git a/configs/cloud.nix b/configs/cloud.nix index e637f86..2a5ee21 100644 --- a/configs/cloud.nix +++ b/configs/cloud.nix @@ -41,7 +41,7 @@ in { }; systemd.user.services.nextcloud-syncer = { - enable = true; + enable = false; wants = ["network-online.target"]; wantedBy = ["default.target"]; startAt = "*:00/10"; diff --git a/configs/i3.nix b/configs/i3.nix index 52298f4..3613ded 100644 --- a/configs/i3.nix +++ b/configs/i3.nix @@ -277,8 +277,9 @@ in { PATH=$PATH:${ lib.makeBinPath [pkgs.rofi pkgs.findutils pkgs.coreutils] } + NOTE_DIR=~/cloud/syncthing/obsidian - cd ~/notes + cd "$NOTE_DIR" note_file=$({ echo diary/$(date -I).md echo diary/$(date -I -d yesterday).md @@ -286,7 +287,7 @@ in { } | rofi -dmenu -i -p 'notes') if test "$note_file" then - alacritty --working-directory ~/notes -e "$EDITOR" "$note_file" + alacritty --working-directory "$NOTE_DIR" -e "$EDITOR" "$note_file" fi '' }";