mirror of
https://github.com/ivabus/slides.ivabus.dev
synced 2024-11-10 02:25:21 +03:00
nixos-not-a-luxury: add secrets module attachment
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
4182d6f080
commit
0e82fce377
|
@ -387,6 +387,19 @@ else {
|
|||
|
||||
--
|
||||
|
||||
## Подключение модуля
|
||||
|
||||
```nix[]
|
||||
let
|
||||
my = import ../.;
|
||||
secrets = my.secrets { inherit config; };
|
||||
{
|
||||
_module.args.secrets = secrets;
|
||||
}
|
||||
```
|
||||
|
||||
--
|
||||
|
||||
## Взаимодействие с секретиками
|
||||
|
||||
```nix[|1,6,12,13]
|
||||
|
|
Loading…
Reference in a new issue