Compare commits

..

3 commits

Author SHA1 Message Date
41d7652cb4
hardware config 2025-06-25 15:58:19 +02:00
7d88dfafa9 Merge pull request 'Enable cleartext diffs for SOPS secrets' (#90) from Gonne/nixConfig:cleartextdiff into main
Reviewed-on: #90
Reviewed-by: nerf <nerf@noreply.localhost>
2025-06-25 13:42:25 +00:00
8def445ac0 Enable cleartext diffs for SOPS secrets 2025-06-24 16:14:42 +02:00
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