add nvim buffer switch keymap & change dbt models
This commit is contained in:
parent
a8e0ae35da
commit
f7ffba2266
|
@ -361,11 +361,11 @@
|
||||||
"nix-secrets": {
|
"nix-secrets": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722540163,
|
"lastModified": 1726340825,
|
||||||
"narHash": "sha256-5/sOGSmWksxMKuLzcpWBMYRkphFLcz7XensO2gwEC/4=",
|
"narHash": "sha256-6gv36ea3aAjJH7osZVzVU0GRoJeVR+iwSP9bSaJC+MI=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "a403495cd9a28b44b10c64cc340d04d759b6d21c",
|
"rev": "73d4d304a201f7db200ffb5955c8a2f521f635a7",
|
||||||
"revCount": 158,
|
"revCount": 160,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git"
|
"url": "ssh://git@git.bitlab21.com/sam/nix-secrets.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Switching buffers
|
# Switching buffers
|
||||||
{
|
{
|
||||||
mode = ["n"];
|
mode = ["n"];
|
||||||
action = "<C-W>h";
|
action = "<C-w>h";
|
||||||
key = "<S-h>";
|
key = "<S-h>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
silent = true;
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = ["n"];
|
mode = ["n"];
|
||||||
action = "<C-W>j";
|
action = "<C-w>j";
|
||||||
key = "<S-j>";
|
key = "<S-j>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
silent = true;
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = ["n"];
|
mode = ["n"];
|
||||||
action = "<C-W>k";
|
action = "<C-w>k";
|
||||||
key = "<S-k>";
|
key = "<S-k>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
silent = true;
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = ["n"];
|
mode = ["n"];
|
||||||
action = "<C-W>l";
|
action = "<C-w>l";
|
||||||
key = "<S-l>";
|
key = "<S-l>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
silent = true;
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
action = "type_definition";
|
action = "type_definition";
|
||||||
desc = "Type Definition";
|
desc = "Type Definition";
|
||||||
};
|
};
|
||||||
K = {
|
gK = {
|
||||||
action = "hover";
|
action = "hover";
|
||||||
desc = "Hover";
|
desc = "Hover";
|
||||||
};
|
};
|
||||||
|
|
|
@ -44,12 +44,15 @@ in {
|
||||||
"github-access-token" = {
|
"github-access-token" = {
|
||||||
mode = "0655";
|
mode = "0655";
|
||||||
};
|
};
|
||||||
"software/postgres/btc_models/password" = {};
|
"software/postgres/baseddata_models/password" = {};
|
||||||
"software/postgres/btc_models/ip" = {};
|
"software/postgres/baseddata_models/ip" = {};
|
||||||
"software/postgres/btc_models/username" = {};
|
"software/postgres/baseddata_models/username" = {};
|
||||||
"software/postgres/osm/password" = {};
|
"software/postgres/osm/password" = {};
|
||||||
"software/postgres/osm/ip" = {};
|
"software/postgres/osm/ip" = {};
|
||||||
"software/postgres/osm/username" = {};
|
"software/postgres/osm/username" = {};
|
||||||
|
"software/postgres/bitcoin/password" = {};
|
||||||
|
"software/postgres/bitcoin/ip" = {};
|
||||||
|
"software/postgres/bitcoin/username" = {};
|
||||||
"software/zotero/username" = {};
|
"software/zotero/username" = {};
|
||||||
"software/zotero/password" = {};
|
"software/zotero/password" = {};
|
||||||
"software/zotero/guid" = {};
|
"software/zotero/guid" = {};
|
||||||
|
@ -66,16 +69,20 @@ in {
|
||||||
content = ''
|
content = ''
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"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"}/btc_models",
|
"url": "postgresql://${config.sops.placeholder."software/postgres/baseddata_models/username"}:${config.sops.placeholder."software/postgres/baseddata_models/password"}@${config.sops.placeholder."software/postgres/baseddata_models/ip"}/btc_models",
|
||||||
"name": "btc_models"
|
"name": "baseddata_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",
|
"url": "postgresql://${config.sops.placeholder."software/postgres/baseddata_models/username"}:${config.sops.placeholder."software/postgres/baseddata_models/password"}@${config.sops.placeholder."software/postgres/baseddata_models/ip"}/dev_baseddata_models",
|
||||||
"name": "dev_btc_models"
|
"name": "dev_baseddata_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",
|
"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"
|
"name": "osm"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "postgresql://${config.sops.placeholder."software/postgres/bitcoin/username"}:${config.sops.placeholder."software/postgres/bitcoin/password"}@${config.sops.placeholder."software/postgres/bitcoin/ip"}/bitcoin",
|
||||||
|
"name": "bitcoin"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
'';
|
'';
|
||||||
|
@ -86,27 +93,27 @@ in {
|
||||||
owner = "${username}";
|
owner = "${username}";
|
||||||
mode = "0600";
|
mode = "0600";
|
||||||
content = ''
|
content = ''
|
||||||
bitcoin:
|
baseddata:
|
||||||
target: dev
|
target: dev
|
||||||
outputs:
|
outputs:
|
||||||
dev:
|
dev:
|
||||||
dbname: dev_btc_models
|
dbname: dev_baseddata_models
|
||||||
host: ${config.sops.placeholder."software/postgres/btc_models/ip"}
|
host: ${config.sops.placeholder."software/postgres/baseddata_models/ip"}
|
||||||
pass: '${config.sops.placeholder."software/postgres/btc_models/password"}'
|
pass: '${config.sops.placeholder."software/postgres/baseddata_models/password"}'
|
||||||
port: 5432
|
port: 5432
|
||||||
schema: models
|
schema: models
|
||||||
threads: 6
|
threads: 6
|
||||||
type: postgres
|
type: postgres
|
||||||
user: ${config.sops.placeholder."software/postgres/btc_models/username"}
|
user: ${config.sops.placeholder."software/postgres/baseddata_models/username"}
|
||||||
prod:
|
prod:
|
||||||
dbname: btc_models
|
dbname: baseddata_models
|
||||||
host: ${config.sops.placeholder."software/postgres/btc_models/ip"}
|
host: ${config.sops.placeholder."software/postgres/baseddata_models/ip"}
|
||||||
pass: '${config.sops.placeholder."software/postgres/btc_models/password"}'
|
pass: '${config.sops.placeholder."software/postgres/baseddata_models/password"}'
|
||||||
port: 5432
|
port: 5432
|
||||||
schema: models
|
schema: models
|
||||||
threads: 6
|
threads: 6
|
||||||
type: postgres
|
type: postgres
|
||||||
user: ${config.sops.placeholder."software/postgres/btc_models/username"}
|
user: ${config.sops.placeholder."software/postgres/baseddata_models/username"}
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue