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-24 07:57:37 +0200 |
| commit | 1f3e8dc5b6ed9d931841878963e06f3d06492fa8 (patch) | |
| tree | 11e392bdfb185c67a5e77b3beb88fbae987acc51 /nixos | |
| parent | 8f58bae5ed7e5515b99f4728bcbafed5c082ca32 (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" |
