nixos-not-a-luxury: add secrets module attachment

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-12-27 19:07:22 +03:00
parent 4182d6f080
commit 0e82fce377
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C

View file

@ -387,6 +387,19 @@ else {
--
## Подключение модуля
```nix[]
let
my = import ../.;
secrets = my.secrets { inherit config; };
{
_module.args.secrets = secrets;
}
```
--
## Взаимодействие с секретиками
```nix[|1,6,12,13]