mirror of
https://codeberg.org/muon/home.git
synced 2026-03-08 03:25:16 +00:00
Add db env vars
This commit is contained in:
parent
ee3321b408
commit
814bcab514
1 changed files with 10 additions and 1 deletions
|
|
@ -17,7 +17,16 @@ in {
|
||||||
format = "on $output ";
|
format = "on $output ";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh.initExtra = builtins.readFile ./hr.sh;
|
programs.zsh.initExtra = ''
|
||||||
|
export MK2_TEST_SQL_INSTANCE_USER=gijs
|
||||||
|
export MK2_TEST_SQL_INSTANCE_PASSWORD="$(cat ${config.sops.secrets.google-db-test.path})"
|
||||||
|
export MK2_TEST_SQL_INSTANCE_PORT=5436
|
||||||
|
export MK2_TEST_SQL_INSTANCE_HOST=localhost
|
||||||
|
export MK2_PROD_SQL_INSTANCE_USER=gijs
|
||||||
|
export MK2_PROD_SQL_INSTANCE_PASSWORD="$(cat ${config.sops.secrets.google-db-prod.path})"
|
||||||
|
export MK2_PROD_SQL_INSTANCE_HOST=localhost
|
||||||
|
export MK2_PROD_SQL_INSTANCE_PORT=5437
|
||||||
|
'' + builtins.readFile ./hr.sh;
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
google-db-proxy-test = {
|
google-db-proxy-test = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue