Update deps
This commit is contained in:
parent
a3d7579aee
commit
6fb8cf72c4
9 changed files with 81 additions and 49 deletions
|
@ -32,7 +32,7 @@ in
|
||||||
|
|
||||||
mlathub = {
|
mlathub = {
|
||||||
image = "ghcr.io/sdr-enthusiasts/docker-readsb-protobuf:latest";
|
image = "ghcr.io/sdr-enthusiasts/docker-readsb-protobuf:latest";
|
||||||
dependsOn = [ "readsb" "piaware" ];
|
# dependsOn = [ "readsb" "piaware" ];
|
||||||
environment = {
|
environment = {
|
||||||
"TZ" = "Europe/Berlin";
|
"TZ" = "Europe/Berlin";
|
||||||
"DISABLE_PERFORMANCE_GRAPHS" = "true";
|
"DISABLE_PERFORMANCE_GRAPHS" = "true";
|
||||||
|
@ -53,7 +53,7 @@ in
|
||||||
|
|
||||||
tar1090 = {
|
tar1090 = {
|
||||||
image = "ghcr.io/sdr-enthusiasts/docker-tar1090:latest";
|
image = "ghcr.io/sdr-enthusiasts/docker-tar1090:latest";
|
||||||
dependsOn = [ "readsb" "mlathub" ];
|
# dependsOn = [ "readsb" "mlathub" ];
|
||||||
ports = [ "8081:80" ];
|
ports = [ "8081:80" ];
|
||||||
environment = {
|
environment = {
|
||||||
"TZ" = "Europe/Berlin";
|
"TZ" = "Europe/Berlin";
|
||||||
|
@ -80,7 +80,7 @@ in
|
||||||
|
|
||||||
fr24feed = {
|
fr24feed = {
|
||||||
image = "ghcr.io/sdr-enthusiasts/docker-flightradar24:latest";
|
image = "ghcr.io/sdr-enthusiasts/docker-flightradar24:latest";
|
||||||
dependsOn = [ "readsb" ];
|
# dependsOn = [ "readsb" ];
|
||||||
environment = {
|
environment = {
|
||||||
"TZ" = "Europe/Berlin";
|
"TZ" = "Europe/Berlin";
|
||||||
"BEASTHOST" = "readsb";
|
"BEASTHOST" = "readsb";
|
||||||
|
@ -98,7 +98,7 @@ in
|
||||||
|
|
||||||
piaware = {
|
piaware = {
|
||||||
image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest";
|
image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest";
|
||||||
dependsOn = [ "readsb" ];
|
# dependsOn = [ "readsb" ];
|
||||||
environment = {
|
environment = {
|
||||||
"TZ" = "Europe/Berlin";
|
"TZ" = "Europe/Berlin";
|
||||||
"RECEIVER_TYPE" = "relay";
|
"RECEIVER_TYPE" = "relay";
|
||||||
|
|
24
flake.lock
24
flake.lock
|
@ -152,11 +152,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687598357,
|
"lastModified": 1687747614,
|
||||||
"narHash": "sha256-70ciIe8415oQnQypawaqocEaLJcI1XtkqRNmle8vsrg=",
|
"narHash": "sha256-KXspKgtdO2YRL12Jv0sUgkwOwHrAFwdIG/90pDx8Ydg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "1e7098ee0448dc5d33df394d040f454cd42a809c",
|
"rev": "fef67a1ddc293b595d62a660f57deabbcb70ff95",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -202,11 +202,11 @@
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1685662779,
|
"lastModified": 1687762428,
|
||||||
"narHash": "sha256-cKDDciXGpMEjP1n6HlzKinN0H+oLmNpgeCTzYnsA2po=",
|
"narHash": "sha256-DIf7mi45PKo+s8dOYF+UlXHzE0Wl/+k3tXUyAoAnoGE=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "71fb97f0d875fd4de4994dfb849f2c75e17eb6c3",
|
"rev": "37dd7bb15791c86d55c5121740a1887ab55ee836",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -299,11 +299,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1687651961,
|
"lastModified": 1687764346,
|
||||||
"narHash": "sha256-xop+7nyPZXbnXPCAW6iQSRB0ILgyBydKMqnhr4ZgVIY=",
|
"narHash": "sha256-ugMazLtz8pbjMLJ386dTvWzFGkOwCn0xvy1fvk66XyY=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "e59cf3b3a9ee0f9e9b4d2e01059dbdf185eb5685",
|
"rev": "b697c0cd4fb2ebe3f021599cb77122374db7fd59",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -324,11 +324,11 @@
|
||||||
"weewx-proxy-flake": "weewx-proxy-flake"
|
"weewx-proxy-flake": "weewx-proxy-flake"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687681278,
|
"lastModified": 1687768057,
|
||||||
"narHash": "sha256-VCOM3oAW9W0Awnu5dVEgklQGpCt3P9JocQtXBCgQNJg=",
|
"narHash": "sha256-WYNflttAMgF4cqQAUp58SW9QEFvTVdSKKq3pCMERR/A=",
|
||||||
"owner": "nifoc",
|
"owner": "nifoc",
|
||||||
"repo": "nix-overlay",
|
"repo": "nix-overlay",
|
||||||
"rev": "0da1ca819bf1e1a936b01a3109048b71b7836e2a",
|
"rev": "f5e9530ad81f51904b534e6ee32916f6d42505cc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -88,6 +88,8 @@
|
||||||
(keymap.set :n :<leader>tw
|
(keymap.set :n :<leader>tw
|
||||||
#(telescope-builtin.lsp_dynamic_workspace_symbols telescope-dropdown)
|
#(telescope-builtin.lsp_dynamic_workspace_symbols telescope-dropdown)
|
||||||
{:buffer bufnr :desc "LSP Workspace Symbols"})
|
{:buffer bufnr :desc "LSP Workspace Symbols"})
|
||||||
|
(keymap.set :n :<leader>th #(vim.lsp.buf.inlay_hint bufnr nil)
|
||||||
|
{:buffer bufnr :desc "Toggle Inlay Hints"})
|
||||||
(keymap.set :n :<leader>lca
|
(keymap.set :n :<leader>lca
|
||||||
#(telescope-builtin.lsp_code_actions telescope-dropdown)
|
#(telescope-builtin.lsp_code_actions telescope-dropdown)
|
||||||
{:buffer bufnr :desc "LSP Code Action"})
|
{:buffer bufnr :desc "LSP Code Action"})
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
(colorscheme :dracula)
|
(colorscheme :dracula)
|
||||||
;; LSP
|
;; LSP
|
||||||
(highlight-link :LspCodeLens :Comment)
|
(highlight-link :LspCodeLens :Comment)
|
||||||
|
(highlight-link :LspInlayHint :Comment)
|
||||||
;; Tabline
|
;; Tabline
|
||||||
(highlight :TabLine {:fg mod.colors.comment :bg mod.colors.black})
|
(highlight :TabLine {:fg mod.colors.comment :bg mod.colors.black})
|
||||||
(highlight :TabLineSel {:fg mod.colors.white :bg mod.colors.bg})
|
(highlight :TabLineSel {:fg mod.colors.white :bg mod.colors.bg})
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
formatting (require :nifoc.formatting)
|
formatting (require :nifoc.formatting)
|
||||||
augroup (vim.api.nvim_create_augroup :NifocLsp {:clear true})
|
augroup (vim.api.nvim_create_augroup :NifocLsp {:clear true})
|
||||||
aucmd vim.api.nvim_create_autocmd]
|
aucmd vim.api.nvim_create_autocmd]
|
||||||
|
(fn setup-inlay-hint-toggle [bufnr]
|
||||||
|
(aucmd :InsertEnter {:callback #(vim.lsp.buf.inlay_hint bufnr false)
|
||||||
|
:buffer bufnr
|
||||||
|
:group augroup})
|
||||||
|
(aucmd :InsertLeave {:callback #(vim.lsp.buf.inlay_hint bufnr true)
|
||||||
|
:buffer bufnr
|
||||||
|
:group augroup}))
|
||||||
|
|
||||||
;; Attach
|
;; Attach
|
||||||
(aucmd :LspAttach {:callback (fn [args]
|
(aucmd :LspAttach {:callback (fn [args]
|
||||||
(let [client (vim.lsp.get_client_by_id args.data.client_id)
|
(let [client (vim.lsp.get_client_by_id args.data.client_id)
|
||||||
|
@ -12,7 +20,8 @@
|
||||||
(when (client.supports_method :textDocument/documentSymbol)
|
(when (client.supports_method :textDocument/documentSymbol)
|
||||||
(navic.attach client bufnr))
|
(navic.attach client bufnr))
|
||||||
(when (client.supports_method :textDocument/inlayHint)
|
(when (client.supports_method :textDocument/inlayHint)
|
||||||
(vim.lsp.buf.inlay_hint bufnr true))
|
(vim.lsp.buf.inlay_hint bufnr true)
|
||||||
|
(setup-inlay-hint-toggle bufnr))
|
||||||
(diagnostic.maybe-enable-lsp client bufnr)
|
(diagnostic.maybe-enable-lsp client bufnr)
|
||||||
(formatting.maybe-enable-lsp client bufnr)))
|
(formatting.maybe-enable-lsp client bufnr)))
|
||||||
:group augroup
|
:group augroup
|
||||||
|
@ -40,11 +49,21 @@
|
||||||
(vim.tbl_extend :force default-config)))
|
(vim.tbl_extend :force default-config)))
|
||||||
(lsp.nil_ls.setup (->> {:settings {:nil {:formatting {:command [:nixpkgs-fmt]}}}}
|
(lsp.nil_ls.setup (->> {:settings {:nil {:formatting {:command [:nixpkgs-fmt]}}}}
|
||||||
(vim.tbl_extend :force default-config)))
|
(vim.tbl_extend :force default-config)))
|
||||||
(lsp.tsserver.setup (->> {:cmd [:typescript-language-server
|
(let [inlay-hints {:includeInlayParameterNameHints :all
|
||||||
:--stdio
|
:includeInlayParameterNameHintsWhenArgumentMatchesName false
|
||||||
:--tsserver-path
|
:includeInlayFunctionParameterTypeHints true
|
||||||
:tsserver]}
|
:includeInlayVariableTypeHints true
|
||||||
(vim.tbl_extend :force default-config)))
|
:includeInlayVariableTypeHintsWhenTypeMatchesName false
|
||||||
|
:includeInlayPropertyDeclarationTypeHints true
|
||||||
|
:includeInlayFunctionLikeReturnTypeHints true
|
||||||
|
:includeInlayEnumMemberValueHints true}]
|
||||||
|
(lsp.tsserver.setup (->> {:cmd [:typescript-language-server
|
||||||
|
:--stdio
|
||||||
|
:--tsserver-path
|
||||||
|
:tsserver]
|
||||||
|
:settings {:typescript {:inlayHints inlay-hints}
|
||||||
|
:javascript {:inlayHints inlay-hints}}}
|
||||||
|
(vim.tbl_extend :force default-config))))
|
||||||
(lsp.solargraph.setup (->> {:settings {:solargraph {:diagnostics true}}}
|
(lsp.solargraph.setup (->> {:settings {:solargraph {:diagnostics true}}}
|
||||||
(vim.tbl_extend :force default-config)))
|
(vim.tbl_extend :force default-config)))
|
||||||
(lsp.lua_ls.setup (->> {:cmd [:lua-language-server]
|
(lsp.lua_ls.setup (->> {:cmd [:lua-language-server]
|
||||||
|
|
|
@ -85,12 +85,12 @@ in
|
||||||
};
|
};
|
||||||
leap-nvim = buildVimPluginFrom2Nix {
|
leap-nvim = buildVimPluginFrom2Nix {
|
||||||
pname = "leap.nvim";
|
pname = "leap.nvim";
|
||||||
version = "2023-06-24";
|
version = "2023-06-26";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ggandor";
|
owner = "ggandor";
|
||||||
repo = "leap.nvim";
|
repo = "leap.nvim";
|
||||||
rev = "3cc0e6a0b99dc18d4e5a88baa3cbe3c7b8b34566";
|
rev = "3004104180391328fca40339587f254d835a9527";
|
||||||
sha256 = "1d8kzcg8cnzqjn02cdsmhx0hx2hsncxg2kacnsyzlzwwrcix2kg9";
|
sha256 = "1slpbs7x72xijbzmbhmlzylhpq02a4y98rnnk3lnsk3n37pfmn82";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -107,12 +107,12 @@ in
|
||||||
};
|
};
|
||||||
nvim-treesitter = buildVimPluginFrom2Nix {
|
nvim-treesitter = buildVimPluginFrom2Nix {
|
||||||
pname = "nvim-treesitter";
|
pname = "nvim-treesitter";
|
||||||
version = "2023-06-25";
|
version = "2023-06-26";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nvim-treesitter";
|
owner = "nvim-treesitter";
|
||||||
repo = "nvim-treesitter";
|
repo = "nvim-treesitter";
|
||||||
rev = "b75f79bc5f68b552743d2136b80fe545871d5501";
|
rev = "d49ba798c95398e62321b40041e8ac4654fea251";
|
||||||
sha256 = "0qlzsvks17i2zcrn8izjkg3qv6cb5sr04zyz12dabhx0prqggxff";
|
sha256 = "065qr5wsrd4hrf3hag6ak2acdnk2lsc6n41pykwhkgxcxhlwvv7d";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -572,12 +572,12 @@ in
|
||||||
};
|
};
|
||||||
noice-nvim = buildVimPluginFrom2Nix {
|
noice-nvim = buildVimPluginFrom2Nix {
|
||||||
pname = "noice.nvim";
|
pname = "noice.nvim";
|
||||||
version = "2023-06-25";
|
version = "2023-06-26";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "folke";
|
owner = "folke";
|
||||||
repo = "noice.nvim";
|
repo = "noice.nvim";
|
||||||
rev = "0d672bd66dc0f77715a20cd149a3afe2ca1fed6d";
|
rev = "4f4a1702a3b2677878e68111af95cc4e775322e1";
|
||||||
sha256 = "1yv1pqh0559hl9kl9vfkd7vwljnlnzk6xhwfl0vc3zhij4b62bjj";
|
sha256 = "0pi6hnx92d8p2bc5vrbhxqigs5qlkiiz79wpb7k5z8n0hckyvcgi";
|
||||||
fetchSubmodules = false;
|
fetchSubmodules = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,5 +23,21 @@
|
||||||
identityFile = "~/.ssh/LAN.pub";
|
identityFile = "~/.ssh/LAN.pub";
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"builder-adsb-antenna" = {
|
||||||
|
hostname = "adsb-antenna.laniot";
|
||||||
|
port = 22;
|
||||||
|
user = "root";
|
||||||
|
identityFile = "~/.ssh/LAN.pub";
|
||||||
|
identitiesOnly = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
"builder-weather-sdr" = {
|
||||||
|
hostname = "weather-sdr.laniot";
|
||||||
|
port = 22;
|
||||||
|
user = "root";
|
||||||
|
identityFile = "~/.ssh/LAN.pub";
|
||||||
|
identitiesOnly = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,15 +51,6 @@
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"sail" = {
|
|
||||||
hostname = "sail.ts.kempkens.network";
|
|
||||||
port = 22;
|
|
||||||
user = "daniel";
|
|
||||||
forwardAgent = true;
|
|
||||||
identityFile = "~/.ssh/Hetzner.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"tanker" = {
|
"tanker" = {
|
||||||
hostname = "tanker.ts.kempkens.network";
|
hostname = "tanker.ts.kempkens.network";
|
||||||
port = 22;
|
port = 22;
|
||||||
|
@ -69,15 +60,6 @@
|
||||||
identitiesOnly = true;
|
identitiesOnly = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"attic" = {
|
|
||||||
hostname = "attic.ts.kempkens.network";
|
|
||||||
port = 22;
|
|
||||||
user = "daniel";
|
|
||||||
forwardAgent = true;
|
|
||||||
identityFile = "~/.ssh/Hetzner.pub";
|
|
||||||
identitiesOnly = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"mediaserver" = {
|
"mediaserver" = {
|
||||||
hostname = "mediaserver.ts.kempkens.network";
|
hostname = "mediaserver.ts.kempkens.network";
|
||||||
port = 22;
|
port = 22;
|
||||||
|
|
|
@ -55,6 +55,18 @@
|
||||||
systems = [ "aarch64-linux" ];
|
systems = [ "aarch64-linux" ];
|
||||||
maxJobs = 2;
|
maxJobs = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
hostName = "builder-adsb-antenna";
|
||||||
|
systems = [ "aarch64-linux" ];
|
||||||
|
maxJobs = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
hostName = "builder-weather-sdr";
|
||||||
|
systems = [ "aarch64-linux" ];
|
||||||
|
maxJobs = 1;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
|
|
Loading…
Reference in a new issue