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-30 18:02:24 +0100 |
| commit | 8c7d4f6ea07c60ae81c64d764821cdc6b6c13183 (patch) | |
| tree | e39cb8385df389e423584cc0d6f96d12dbafb505 /nixos | |
| parent | 1c4faed4e6a2d52b4737888d0f409c35a4e2275b (diff) | |
fix(pi): only mount .config/{git,jj}
.config contains private browser data and
other programs also store secrets there.
Diffstat (limited to 'nixos')
| -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" |
