diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-23 19:42:51 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-26 16:48:55 +0100 |
| commit | e65ae327b8dfe0715d619e7f275b0b1b920d48d1 (patch) | |
| tree | c373695471686c09a608c804b97e90fe7e59f3cc | |
| parent | 5015d22e530e8e22aea63471eba2beb0179e69a6 (diff) | |
fix(pi): only mount .config/{git,jj}
.config contains private browser data and
other programs also store secrets there.
| -rw-r--r-- | nixos/profiles/workstation/pkgs/pi.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/profiles/workstation/pkgs/pi.nix b/nixos/profiles/workstation/pkgs/pi.nix index d617089..243bff2 100644 --- a/nixos/profiles/workstation/pkgs/pi.nix +++ b/nixos/profiles/workstation/pkgs/pi.nix @@ -52,8 +52,8 @@ let --dir /run --ro-bind-try /run/current-system /run/current-system --ro-bind /doc /doc - # mount git and jj config - --ro-bind "$HOME/.config" "$HOME/.config" + --ro-bind "$HOME/.config/git" "$HOME/.config/git" + --ro-bind "$HOME/.config/jj" "$HOME/.config/jj" --ro-bind "$HOME/repos/config" "$HOME/repos/config" # jj must be able to write to ~/.config/jj/repos: https://github.com/jj-vcs/jj/issues/8841 --overlay-src "$HOME/.config/jj" --tmp-overlay "$HOME/.config/jj" |
