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