add some initial stuff

This commit is contained in:
Lucy Hochkamp 2025-03-15 15:45:30 +01:00
commit 62df62c3aa
No known key found for this signature in database
23 changed files with 2101 additions and 0 deletions

11
secrets.md Normal file
View file

@ -0,0 +1,11 @@
how should the secret generation thingamajig work:
- read all systemd.service.$service.encrypedSecrets.NAME_OF_ENV_VAR
```nix
{
systemd.services.meows.encrypedSecrets.MEOW = {
random = true; # grenerates 64 chars of random data
random = 20; # generates 20 chars of random data
}; # if random not set, expect age file at hosts/$host/secrets/$serviceName-$NAME_OF_ENV_VAR.age
}
```