Compare commits

..

No commits in common. "3394d5bed5705a05ebf6baa20f4f6d671b30af15" and "0596629c20b82f0db0112c45ff515366d2c9206d" have entirely different histories.

7 changed files with 80 additions and 50 deletions

48
flake.lock generated
View file

@ -40,11 +40,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1745432946, "lastModified": 1744741087,
"narHash": "sha256-6JNCfG67V5muUwEGdv5HmnbW6UlGrjcblVObvJCVXy4=", "narHash": "sha256-TzMey3Su7uNxUS5DOdDuk7tE2ULuzKhm233qHM8ObnA=",
"owner": "Saghen", "owner": "Saghen",
"repo": "blink.cmp", "repo": "blink.cmp",
"rev": "5d90bfc6245eb89b6c6f22f4fa3a7202df17cb24", "rev": "e16586c49309c29f238e1068546e7ba64cc15a78",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -158,11 +158,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745427103, "lastModified": 1744812667,
"narHash": "sha256-J4v65MKoXt95nmCYr6a7Cdiyl9QmPp6u3+7aJ71zxbk=", "narHash": "sha256-2AJZwXMO82YGw6B/RRCPz8Wz2zSRCZIdjhdFuiw7Ymg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6d1f834ca63700604a96d8c38aa8ac272d95071a", "rev": "5d48f3ded3b55ef32d5853c9022fb4df29b3fc45",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -178,11 +178,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1744867268, "lastModified": 1736510643,
"narHash": "sha256-MZxEEq9FNJKtLg3Yz4e0Pf+8TRySj8xJ6vBszqt3fjg=", "narHash": "sha256-z6qvPOIr4Rl4wA6U5g8Aj3npdeTNiR3AXFIOy7e2IJs=",
"owner": "hydractify", "owner": "hydractify",
"repo": "hydractify-bot", "repo": "hydractify-bot",
"rev": "263b8552a4dd161de58eb13dad93ec758718c828", "rev": "69759c7adcb2102dbb8d3e8a657dc5a47686dc46",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -236,11 +236,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1745015490, "lastModified": 1743953322,
"narHash": "sha256-apEJ9zoSzmslhJ2vOKFcXTMZLUFYzh1ghfB6Rbw3Low=", "narHash": "sha256-prQ5JKopXtzCMX2eT3dXbaVvGmzjMRE2bXStQDdazpM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprgraphics", "repo": "hyprgraphics",
"rev": "60754910946b4e2dc1377b967b7156cb989c5873", "rev": "9d7f2687c84c729afbc3b13f7937655570f2978d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -265,11 +265,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1745328209, "lastModified": 1744807781,
"narHash": "sha256-eP3x+JNE1T6RjXhimaEnoc4GvNJcyzppW1vpAs287Zg=", "narHash": "sha256-zwLztVgpc0Txwvy662USwYVEKkNZiJd5GdqacnKyp18=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "241a4935a244f403fa7108259075b04c81ed258f", "rev": "1ae7e2164c25ad4c22698b0ac12969f1e2a1b8ca",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -527,11 +527,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1744932701, "lastModified": 1744463964,
"narHash": "sha256-fusHbZCyv126cyArUwwKrLdCkgVAIaa/fQJYFlCEqiU=", "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b024ced1aac25639f8ca8fdfc2f8c4fbd66c48ef", "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -543,11 +543,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1745234285, "lastModified": 1744463964,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=", "narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141", "rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -616,11 +616,11 @@
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1745151211, "lastModified": 1744682091,
"narHash": "sha256-qFXfTdO1yvW6DmUPfVLIJgDHfkSd5yimZWvBMrlP/ow=", "narHash": "sha256-zudMf0YW3mB0f2XnWPAjYdKioJPaJQchhO4bCeBOZAI=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "1dd4328f82115887901a685ecd9fa6e1d1db2d0c", "rev": "44ed9eb751a6966ffb291edbda2e9bebd3ebcd4a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -11,19 +11,16 @@
virtualHosts."jellyfin.thewizard.link".extraConfig = '' virtualHosts."jellyfin.thewizard.link".extraConfig = ''
encode gzip encode gzip
header X-Robots-Tag "none"
reverse_proxy 127.0.0.1:8096 { reverse_proxy 127.0.0.1:8096 {
flush_interval -1 flush_interval -1
} }
''; '';
virtualHosts."jellyseerr.thewizard.link".extraConfig = '' virtualHosts."jellyseerr.thewizard.link".extraConfig = ''
header X-Robots-Tag "none"
reverse_proxy http://127.0.0.1:5055 reverse_proxy http://127.0.0.1:5055
''; '';
virtualHosts."foundry.thewizard.link".extraConfig = '' virtualHosts."foundry.thewizard.link".extraConfig = ''
header X-Robots-Tag "none"
reverse_proxy 127.0.0.1:30000 { reverse_proxy 127.0.0.1:30000 {
flush_interval -1 flush_interval -1
} }
@ -35,22 +32,18 @@
virtualHosts."files.thewizard.link".extraConfig = '' virtualHosts."files.thewizard.link".extraConfig = ''
root * /srv/files root * /srv/files
header X-Robots-Tag "none"
file_server file_server
''; '';
virtualHosts."torrent.thewizard.link".extraConfig = '' virtualHosts."torrent.thewizard.link".extraConfig = ''
header X-Robots-Tag "none"
reverse_proxy 127.0.0.1:8144 reverse_proxy 127.0.0.1:8144
''; '';
virtualHosts."shoko.thewizard.link".extraConfig = '' virtualHosts."shoko.thewizard.link".extraConfig = ''
header X-Robots-Tag "none"
reverse_proxy 127.0.0.1:8111 reverse_proxy 127.0.0.1:8111
''; '';
virtualHosts."nixbin.thewizard.link".extraConfig = '' virtualHosts."nixbin.thewizard.link".extraConfig = ''
header X-Robots-Tag "none"
reverse_proxy 127.0.0.1:7373 reverse_proxy 127.0.0.1:7373
''; '';
}; };

View file

@ -15,8 +15,6 @@ return {
{ import = "astrocommunity.motion.mini-ai" }, { import = "astrocommunity.motion.mini-ai" },
{ import = "astrocommunity.motion.mini-surround" }, { import = "astrocommunity.motion.mini-surround" },
{ import = "astrocommunity.recipes.diagnostic-virtual-lines-current-line" },
{ import = "astrocommunity.test.neotest" }, { import = "astrocommunity.test.neotest" },
{ import = "astrocommunity.pack.cmake" }, { import = "astrocommunity.pack.cmake" },

View file

@ -16,13 +16,11 @@ return {
diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on) diagnostics_mode = 3, -- diagnostic mode on start (0 = off, 1 = no signs/virtual text, 2 = no virtual text, 3 = on)
highlighturl = true, -- highlight URLs at start highlighturl = true, -- highlight URLs at start
notifications = true, -- enable notifications at start notifications = true, -- enable notifications at start
signature_help = true, -- enable automatically showing signature help
inlay_hints = true, -- enable inlay hints globally
}, },
-- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on -- Diagnostics configuration (for vim.diagnostics.config({...})) when diagnostics are on
diagnostics = { diagnostics = {
virtual_text = true, virtual_text = true,
virtual_lines = { current_line = true }, virtual_lines = false,
}, },
-- vim options can be configured here -- vim options can be configured here
options = { options = {

View file

@ -1,13 +0,0 @@
---@type LazySpec
return {
"echasnovski/mini.icons",
lazy = true,
opts = {
extension = {
cshtml = {
glyph = "󱦗",
hl = "MiniIconsPurple",
},
},
},
}

View file

@ -56,6 +56,60 @@ return {
dotnet_enable_references_code_lens = true, dotnet_enable_references_code_lens = true,
}, },
}, },
---@class RoslynPatchedClient: vim.lsp.Client
---@field patched boolean?
---@param client RoslynPatchedClient
---@param bufnr integer
on_attach = function(client, bufnr)
-- Call AstroLSP's on_attach so it registers mappings, formatting, etc.
require("astrolsp").on_attach(client, bufnr)
-- HACK: Patch out the `roslyn-ls` LSP client to have proper
-- semantic tokens.
-- This is a snippet of code taken and modified from:
-- https://github.com/seblyng/roslyn.nvim/wiki#semantic-tokens
if client.patched then
return
else
client.patched = true
end
-- let the runtime know the server can do semanticTokens/full now
client.server_capabilities = vim.tbl_deep_extend("force", client.server_capabilities, {
semanticTokensProvider = {
full = true,
},
})
local lsp_request = client.request
client.request = function(method, params, handler, req_bufnr)
if method ~= vim.lsp.protocol.Methods.textDocument_semanticTokens_full then
return lsp_request(method, params, handler, req_bufnr)
end
local target_bufnr = vim.uri_to_bufnr(params.textDocument.uri)
local line_count = vim.api.nvim_buf_line_count(target_bufnr)
local last_line =
vim.api.nvim_buf_get_lines(target_bufnr, line_count - 1, line_count, true)[1]
local returnvalue = lsp_request("textDocument/semanticTokens/range", {
textDocument = params.textDocument,
range = {
["start"] = {
line = 0,
character = 0,
},
["end"] = {
line = line_count - 1,
character = string.len(last_line) - 1,
},
},
}, handler, req_bufnr)
return returnvalue
end
end,
}, },
} }

View file

@ -82,7 +82,7 @@
fastfetch fastfetch
firefox firefox
pavucontrol pavucontrol
# protonvpn-gui # WARNING: Marked as broken https://github.com/NixOS/nixpkgs/commit/84faa614a5256a84e3dd4e445053ff76f4c0a5d4 protonvpn-gui
qbittorrent qbittorrent
qdirstat qdirstat
speedcrunch speedcrunch