aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-23 19:42:51 +0200
committerMartin Fischer <martin@push-f.com>2026-10-31 08:43:09 +0100
commit29cf39e1500260ba640714a4c86dd7ee747a3aee (patch)
treede9cf2dd039c63060f581c1da783f5be8ed54d05
parentd474a94eb7dd86463ccf12f4e3959b1377a52f94 (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.nix4
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"