fix(syncthing): Properly persist state dir
I'd forgot to strip the `~/` prefix from the path, causing `/home/crumb/home/crumb/...` to persist instead of `/home/crumb/...`.
This commit is contained in:
37
README.org
37
README.org
@@ -191,7 +191,7 @@ Article^W
|
|||||||
|
|
||||||
(where the «^W» is a superscript W)
|
(where the «^W» is a superscript W)
|
||||||
|
|
||||||
*** TODO [[https://github.com/awth13/org-appear][Hide Org-mode markup only when not editing]]
|
*** DONE [[https://github.com/awth13/org-appear][Hide Org-mode markup only when not editing]]
|
||||||
|
|
||||||
*** TODO [[https://github.com/io12/org-fragtog][Preview LaTeX fragments in Org-mode when not editing]]
|
*** TODO [[https://github.com/io12/org-fragtog][Preview LaTeX fragments in Org-mode when not editing]]
|
||||||
|
|
||||||
@@ -277,8 +277,6 @@ CLOSED: [2025-02-02 Sun 14:06]
|
|||||||
|
|
||||||
Seems old and broken?
|
Seems old and broken?
|
||||||
|
|
||||||
**** TODO Evil stuff
|
|
||||||
|
|
||||||
**** DONE Text objects
|
**** DONE Text objects
|
||||||
|
|
||||||
**** DONE [[https://github.com/Malabarba/speed-of-thought-lisp][speed-of-thought]]
|
**** DONE [[https://github.com/Malabarba/speed-of-thought-lisp][speed-of-thought]]
|
||||||
@@ -319,19 +317,19 @@ CLOSED: [2025-02-02 Sun 14:05]
|
|||||||
|
|
||||||
*** TODO Eshell
|
*** TODO Eshell
|
||||||
|
|
||||||
**** TODO Prompt
|
**** DONE Prompt
|
||||||
|
|
||||||
**** TODO Greeting
|
**** DONE Greeting
|
||||||
|
|
||||||
**** TODO Aliases
|
**** DONE Aliases
|
||||||
|
|
||||||
**** TODO Evil
|
**** DONE Evil
|
||||||
|
|
||||||
**** TODO Project integration
|
**** DONE Project integration
|
||||||
|
|
||||||
**** TODO Syntax highlighting
|
**** TODO Syntax highlighting
|
||||||
|
|
||||||
**** TODO ~C-d~
|
**** DONE ~C-d~
|
||||||
|
|
||||||
*** TODO Snippets
|
*** TODO Snippets
|
||||||
|
|
||||||
@@ -411,9 +409,9 @@ CLOSED: [2024-11-14 Thu 04:46]
|
|||||||
|
|
||||||
**** org-mode
|
**** org-mode
|
||||||
|
|
||||||
***** init.org for beorg
|
***** DONE init.org for beorg
|
||||||
|
|
||||||
***** IPA links
|
***** KILL IPA links
|
||||||
|
|
||||||
***** capture templates
|
***** capture templates
|
||||||
|
|
||||||
@@ -421,7 +419,7 @@ CLOSED: [2024-11-14 Thu 04:46]
|
|||||||
|
|
||||||
****** todo
|
****** todo
|
||||||
|
|
||||||
***** fancy headline stars
|
***** DONE fancy headline stars
|
||||||
|
|
||||||
***** DONE better colour for inline code
|
***** DONE better colour for inline code
|
||||||
CLOSED: [2024-11-21 Thu 09:04]
|
CLOSED: [2024-11-21 Thu 09:04]
|
||||||
@@ -429,11 +427,7 @@ CLOSED: [2024-11-21 Thu 09:04]
|
|||||||
**** DONE variable pitch
|
**** DONE variable pitch
|
||||||
CLOSED: [2024-11-30 Sat 19:06]
|
CLOSED: [2024-11-30 Sat 19:06]
|
||||||
|
|
||||||
*** form and element text objects à la vim-sexp
|
*** TODO jump to prev/next hole in haskell
|
||||||
|
|
||||||
*** customise the eshell prompt
|
|
||||||
|
|
||||||
*** jump to prev/next hole in haskell
|
|
||||||
|
|
||||||
*** make a bind for inserting hrules
|
*** make a bind for inserting hrules
|
||||||
|
|
||||||
@@ -451,12 +445,13 @@ CLOSED: [2024-12-27 Fri 19:35]
|
|||||||
|
|
||||||
Just kind of a pain in the ass. }:)
|
Just kind of a pain in the ass. }:)
|
||||||
|
|
||||||
*** evil-cp fixes
|
*** KILL evil-cp fixes
|
||||||
|
|
||||||
**** [[kbd:][(]] / [[kbd:][)]]
|
**** [[kbd:][(]] / [[kbd:][)]]
|
||||||
|
|
||||||
When [[kbd:][)]] is hit whilst the cursor is at ~↓1~, it should move to the matching
|
When [[kbd:][)]] is hit whilst the cursor is at ~↓1~, it should move to the matching
|
||||||
bracket, ~↓2~, *not* the right bracket of the ~save-excursion~ call.
|
bracket, ~↓2~, *not* the right bracket of the ~save-excursion~ call.
|
||||||
|
|
||||||
#+begin_src elisp
|
#+begin_src elisp
|
||||||
(save-excursion
|
(save-excursion
|
||||||
;; ↓1 ↓2
|
;; ↓1 ↓2
|
||||||
@@ -467,9 +462,7 @@ bracket, ~↓2~, *not* the right bracket of the ~save-excursion~ call.
|
|||||||
|
|
||||||
*** automatically close compilation buffer
|
*** automatically close compilation buffer
|
||||||
|
|
||||||
*** fix =[e= / =]e=
|
*** TODO fix =[e= / =]e=
|
||||||
|
|
||||||
*** unmap =TAB= in normal mode
|
|
||||||
|
|
||||||
*** eshell trail à la M-x calc
|
*** eshell trail à la M-x calc
|
||||||
|
|
||||||
@@ -499,7 +492,7 @@ Define ~services.syncthing.settings.devices~ as constant. Folders can still list
|
|||||||
- [[https://rgoulter.com/blog/posts/programming/2022-02-20-using-home-manager-to-manage-symlinks-to-dotfiles.html][link]]
|
- [[https://rgoulter.com/blog/posts/programming/2022-02-20-using-home-manager-to-manage-symlinks-to-dotfiles.html][link]]
|
||||||
- [[https://www.bekk.christmas/post/2021/16/dotfiles-with-nix-and-home-manager][link]]
|
- [[https://www.bekk.christmas/post/2021/16/dotfiles-with-nix-and-home-manager][link]]
|
||||||
|
|
||||||
*** TODO Emacs
|
*** DONE Emacs
|
||||||
|
|
||||||
*** TODO Bash
|
*** TODO Bash
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ in lib.mkMerge [
|
|||||||
|
|
||||||
# Hack aside, this directory must be persisted to, at least
|
# Hack aside, this directory must be persisted to, at least
|
||||||
# 1. Preserve the device ID.
|
# 1. Preserve the device ID.
|
||||||
"${xdg-state-dir}/syncthing"
|
(lib.removePrefix config.home.homeDirectory "${xdg-state-dir}/syncthing")
|
||||||
];
|
];
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
|
|||||||
Reference in New Issue
Block a user