no-mistakes(document): Point herdr state-file rationale at the cleanup list
This commit is contained in:
1 parent
b0d7087a46
commit
2bcaf5fd32
1 file changed
+5
-5
@@ -82,11 +82,11 @@ in
|
|||||||
force = true;
|
force = true;
|
||||||
};
|
};
|
||||||
# herdr treats ~/.config/herdr as both its config directory and its state
|
# herdr treats ~/.config/herdr as both its config directory and its state
|
||||||
# directory: it writes herdr.sock, herdr-client.sock, herdr-server.log,
|
# directory: it writes its sockets, logs, lock files and session state beside
|
||||||
# .plugins.lock, session.json and session-snapshots/ beside config.toml, and it
|
# config.toml, and it offers no option to relocate them. Keep that directory a
|
||||||
# offers no option to relocate them. Keep that directory a real directory and
|
# real directory and link only the config file - a whole-directory symlink into
|
||||||
# link only the config file - a whole-directory symlink into this repo makes
|
# this repo makes every running herdr server dirty the working tree. The exact
|
||||||
# every running herdr server dirty the working tree.
|
# artifact list is the cleanup below, so it cannot drift from the code.
|
||||||
home.file.".config/herdr/config.toml" = {
|
home.file.".config/herdr/config.toml" = {
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/home/.config/herdr/config.toml";
|
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/home/.config/herdr/config.toml";
|
||||||
force = true;
|
force = true;
|
||||||
|
|||||||
Reference in new issue
Block a user