From 9f5e92d45205bafa8efd633304d6c947ee2df8bc Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 2 Aug 2024 22:53:01 +0100 Subject: [PATCH] postgres --- flake.lock | 8 ++++---- hosts/common/users/sam/default.nix | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index c94d113..c218a6d 100644 --- a/flake.lock +++ b/flake.lock @@ -380,11 +380,11 @@ "nix-secrets": { "flake": false, "locked": { - "lastModified": 1721484039, - "narHash": "sha256-NIAfRofVQrYEE/XVbp3nmW1JYCxfv8gbuCEYySnZN18=", + "lastModified": 1722540163, + "narHash": "sha256-5/sOGSmWksxMKuLzcpWBMYRkphFLcz7XensO2gwEC/4=", "ref": "refs/heads/master", - "rev": "ad7a2afbe9c767101006c992b6031337f49c3777", - "revCount": 157, + "rev": "a403495cd9a28b44b10c64cc340d04d759b6d21c", + "revCount": 158, "type": "git", "url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git" }, diff --git a/hosts/common/users/sam/default.nix b/hosts/common/users/sam/default.nix index 956a258..79781da 100644 --- a/hosts/common/users/sam/default.nix +++ b/hosts/common/users/sam/default.nix @@ -42,6 +42,9 @@ in "software/postgres/btc_models/password" = { }; "software/postgres/btc_models/ip" = { }; "software/postgres/btc_models/username" = { }; + "software/postgres/osm/password" = { }; + "software/postgres/osm/ip" = { }; + "software/postgres/osm/username" = { }; "software/zotero/username" = { }; "software/zotero/password" = { }; "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", "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" } ] '';