fix: nixd lsp
This commit is contained in:
parent
65656668d3
commit
5d6f5671a6
4 changed files with 28 additions and 14 deletions
|
|
@ -56,14 +56,14 @@ return {
|
|||
formatting = {
|
||||
command = { "nixfmt" },
|
||||
},
|
||||
options = {
|
||||
nixos = {
|
||||
expr = '(builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations.k-on.options',
|
||||
},
|
||||
home_manager = {
|
||||
expr = '(builtins.getFlake ("git+file://" + toString ./.)).homeConfigurations."ruixi@k-on".options',
|
||||
},
|
||||
},
|
||||
-- options = {
|
||||
-- nixos = {
|
||||
-- expr = '(builtins.getFlake ("git+file://" + toString ./.)).nixosConfigurations.k-on.options',
|
||||
-- },
|
||||
-- home_manager = {
|
||||
-- expr = '(builtins.getFlake ("git+file://" + toString ./.)).homeConfigurations."ruixi@k-on".options',
|
||||
-- },
|
||||
-- },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -54,11 +54,20 @@
|
|||
"nvim . (.*)": " $1",
|
||||
"(.*) - Visual Studio Code": " $1",
|
||||
"\\(\\d+\\) Discord (.*)": " $1",
|
||||
|
||||
// Firefox
|
||||
"(.*) - YouTube — Mozilla Firefox": " $1",
|
||||
"(.*)\\.pdf — Mozilla Firefox": " $1",
|
||||
"(.*) — Mozilla Firefox": " $1",
|
||||
"(.*) - VLC media player": " $1",
|
||||
"(.*) - YouTube Music — Mozilla Firefox": " $1"
|
||||
"(.*) - YouTube Music — Mozilla Firefox": " $1",
|
||||
|
||||
// Firefox Nightly
|
||||
"(.*) - YouTube — Firefox Nightly": " $1",
|
||||
"(.*)\\.pdf — Firefox Nightly": " $1",
|
||||
"(.*) — Firefox Nightly": " $1",
|
||||
"(.*) - YouTube Music — Firefox Nightly": " $1",
|
||||
|
||||
"(.*) - VLC media player": " $1"
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -146,6 +155,7 @@
|
|||
"ignore-list": [
|
||||
"rofi",
|
||||
"firefox",
|
||||
"firefox-nightly",
|
||||
"kitty",
|
||||
"jetbrains-studio",
|
||||
"Brave-browser",
|
||||
|
|
@ -153,7 +163,9 @@
|
|||
"nemo",
|
||||
"vlc",
|
||||
"com.mitchellh.ghostty",
|
||||
"code"
|
||||
"code",
|
||||
".virt-manager-wrapped",
|
||||
"virt-manager"
|
||||
]
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -78,8 +78,8 @@ in
|
|||
|
||||
# ==== Plugins ==== #
|
||||
# Overview
|
||||
''${mainMod}, o, hyprexpo:expo, toggle''
|
||||
''${mainMod}, TAB, hyprexpo:expo, toggle''
|
||||
# ''${mainMod}, o, hyprexpo:expo, toggle''
|
||||
# ''${mainMod}, TAB, hyprexpo:expo, toggle''
|
||||
]
|
||||
++ (
|
||||
# workspaces
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -24,4 +24,6 @@
|
|||
prettierd
|
||||
black
|
||||
];
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue