mirror of
https://github.com/itme-brain/nixos.git
synced 2026-05-08 14:50:12 -04:00
added llama api key
This commit is contained in:
parent
27f765fe22
commit
07586a80ee
4 changed files with 34 additions and 4 deletions
|
|
@ -5,6 +5,10 @@ let
|
|||
(user: user.modules.user.security.gpg.enable or false)
|
||||
(lib.attrValues config.home-manager.users);
|
||||
|
||||
devEnabled = lib.any
|
||||
(user: user.modules.user.utils.dev.enable or false)
|
||||
(lib.attrValues config.home-manager.users);
|
||||
|
||||
sysModules = config.modules.system;
|
||||
|
||||
in
|
||||
|
|
@ -19,6 +23,11 @@ in
|
|||
"WIFI_HOME_PSK" = wifi;
|
||||
"WIFI_CAMS_SSID" = wifi;
|
||||
"WIFI_CAMS_PSK" = wifi;
|
||||
} // lib.optionalAttrs devEnabled {
|
||||
"LLAMA_API_KEY" = {
|
||||
sopsFile = ../../../secrets/system/llama.yaml;
|
||||
owner = config.user.name;
|
||||
};
|
||||
};
|
||||
|
||||
sops.templates."wifi-env".content = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue