This commit is contained in:
Sam 2024-08-02 22:53:01 +01:00
parent dd94dea696
commit 9f5e92d452
2 changed files with 11 additions and 4 deletions

View File

@ -380,11 +380,11 @@
"nix-secrets": { "nix-secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1721484039, "lastModified": 1722540163,
"narHash": "sha256-NIAfRofVQrYEE/XVbp3nmW1JYCxfv8gbuCEYySnZN18=", "narHash": "sha256-5/sOGSmWksxMKuLzcpWBMYRkphFLcz7XensO2gwEC/4=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "ad7a2afbe9c767101006c992b6031337f49c3777", "rev": "a403495cd9a28b44b10c64cc340d04d759b6d21c",
"revCount": 157, "revCount": 158,
"type": "git", "type": "git",
"url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git" "url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git"
}, },

View File

@ -42,6 +42,9 @@ in
"software/postgres/btc_models/password" = { }; "software/postgres/btc_models/password" = { };
"software/postgres/btc_models/ip" = { }; "software/postgres/btc_models/ip" = { };
"software/postgres/btc_models/username" = { }; "software/postgres/btc_models/username" = { };
"software/postgres/osm/password" = { };
"software/postgres/osm/ip" = { };
"software/postgres/osm/username" = { };
"software/zotero/username" = { }; "software/zotero/username" = { };
"software/zotero/password" = { }; "software/zotero/password" = { };
"software/zotero/guid" = { }; "software/zotero/guid" = { };
@ -64,6 +67,10 @@ in
{ {
"url": "postgresql://${config.sops.placeholder."software/postgres/btc_models/username"}:${config.sops.placeholder."software/postgres/btc_models/password"}@${config.sops.placeholder."software/postgres/btc_models/ip"}/dev_btc_models", "url": "postgresql://${config.sops.placeholder."software/postgres/btc_models/username"}:${config.sops.placeholder."software/postgres/btc_models/password"}@${config.sops.placeholder."software/postgres/btc_models/ip"}/dev_btc_models",
"name": "dev_btc_models" "name": "dev_btc_models"
},
{
"url": "postgresql://${config.sops.placeholder."software/postgres/osm/username"}:${config.sops.placeholder."software/postgres/osm/password"}@${config.sops.placeholder."software/postgres/osm/ip"}/osm",
"name": "osm"
} }
] ]
''; '';