add some initial stuff
This commit is contained in:
commit
62df62c3aa
23 changed files with 2101 additions and 0 deletions
11
secrets.md
Normal file
11
secrets.md
Normal 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
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue