Merge pull request 'Enable cleartext diffs for SOPS secrets' (#90) from Gonne/nixConfig:cleartextdiff into main

Reviewed-on: Fachschaft/nixConfig#90
Reviewed-by: nerf <nerf@noreply.localhost>
This commit is contained in:
nerf 2025-06-25 13:42:25 +00:00
commit 7d88dfafa9
2 changed files with 3 additions and 0 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
*.secrets.yaml diff=sopsdiffer

View file

@ -233,6 +233,8 @@ If the accessing process is not root it must be member of the group `config.user
for systemd services this can be archived by setting `serviceConfig.SupplementaryGroups = [ config.users.groups.keys.name ];`
it the service configuration.
For cleartext diffs configure your local clone with `git config diff.sopsdiffer.textconv "sops decrypt"` (see [Github](https://github.com/getsops/sops?tab=readme-ov-file#showing-diffs-in-cleartext-in-git)).
## impermanence
These machines are setup with `"/"` as a tmpfs. This is there to keep the machines clean. So no clutter in home