Skip to content

Commit 917b08d

Browse files
committed
doc/faq: add sops-nix workaround
1 parent 16ec47e commit 917b08d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/src/faq.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,12 @@ users.users.microvm.extraGroups = [ "disk" ];
135135
The more secure solution would be writing custom
136136
`services.udev.extraRules` that assign ownership/permissions to the
137137
individually used block devices.
138+
139+
# My virtiofs-shared sops-nix /run/secrets disappears when the host is updated!
140+
141+
A workaround may be setting `sops.keepGenerations = 0;`, effectively
142+
stopping sops-nix from ever removing old generations in
143+
`/run/secrets.d/`.
144+
145+
That means that you still must reboot all MicroVMs to adapt any
146+
updated secrets.

0 commit comments

Comments
 (0)