You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently setting up my secrets with sops-nix in my personal config, starting with Home-Manager, and using flakes, and I've ran into an issue when changing the sops.secrets.<secret>.path value:
If I change the value to rename the symlink, the new symlink is properly created, but the old one is not cleaned up, and still points to the valid secret file
If I remove the .path option from the secret but keep everything else the same, nothing changes on my system, the symlink is still there and points to the valid decrypted secret
If I remove the config for the whole secret, again nothing changes: the symlink is still there, the secret still exists
Is this expected behavior, or is there some config that I may have missed somewhere ? Or is it a bug ?
Configuration excerpt :
The section of my flake that defines my HM config:
I have noticed an option named sops.keepGenerations that should apparently be in charge of doing some cleanup of old generations. eval-ing its value in my config returns me 1 (as expected, because I do not set it anywhere, and it's the default value). However, the fact that my secrets remain in place and decrypted after multiple HM generations makes me think that there is a bug somewhere.
Additional information:
System: WSL on Windows 10
OS: Ubuntu 24.04
Home-Manager version : 24.05
The text was updated successfully, but these errors were encountered:
I'm trying this out for the first time today as well. I noticed that even when removing sops-nix completely from my flake and rebuilding my system that I still have a /run/secrets directory symlinked to the directory containing my secrets which remain readable.
Hi ! Thanks a lot for this awesome project :)
Issue
I am currently setting up my secrets with
sops-nix
in my personal config, starting with Home-Manager, and using flakes, and I've ran into an issue when changing thesops.secrets.<secret>.path
value:.path
option from the secret but keep everything else the same, nothing changes on my system, the symlink is still there and points to the valid decrypted secretIs this expected behavior, or is there some config that I may have missed somewhere ? Or is it a bug ?
Configuration excerpt :
The section of my flake that defines my HM config:
The sops-nix config inside my
home.nix
:Misc. Ideas
I have noticed an option named
sops.keepGenerations
that should apparently be in charge of doing some cleanup of old generations.eval
-ing its value in my config returns me1
(as expected, because I do not set it anywhere, and it's the default value). However, the fact that my secrets remain in place and decrypted after multiple HM generations makes me think that there is a bug somewhere.Additional information:
The text was updated successfully, but these errors were encountered: