feat: add nvim dap
This commit is contained in:
parent
e501718888
commit
c0f766ea26
15 changed files with 370 additions and 18 deletions
|
|
@ -43,9 +43,12 @@ in
|
|||
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
associations.added = {
|
||||
"application/pdf" = [ browser ];
|
||||
};
|
||||
defaultApplications = {
|
||||
"text/html" = browser;
|
||||
"application/pdf" = browser;
|
||||
"application/pdf" = [ browser ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,9 +63,9 @@ in
|
|||
};
|
||||
|
||||
xdg.configFile = {
|
||||
"Kvantum/Catppuccin-Macchiato-Lavender/Catppuccin-Macchiato-Blue/Catppuccin-Macchiato-Blue.kvconfig".source =
|
||||
"${pkgs.catppuccin-kvantum}/share/Kvantum/Catppuccin-Macchiato-Lavender/Cattpuccin-Macchiato-Blue.kvconfig";
|
||||
"Kvantum/Catppuccin-Macchiato-Lavender/Catppuccin-Macchiato-Blue/Catppuccin-Macchiato-Blue.svg".source =
|
||||
"${pkgs.catppuccin-kvantum}/share/Kvantum/Catppuccin-Macchiato-Lavender/Cattpuccin-Macchiato-Blue.svg";
|
||||
"Kvantum/catppuccin-macchiato-Lavender/catppuccin-macchiato-lavender/catppuccin-macchiato-lavender.kvconfig".source =
|
||||
"${pkgs.catppuccin-kvantum}/share/Kvantum/catppuccin-macchiato-lavender/cattpuccin-macchiato-lavender.kvconfig";
|
||||
"Kvantum/catppuccin-macchiato-Lavender/catppuccin-macchiato-lavender/catppuccin-macchiato-lavender.svg".source =
|
||||
"${pkgs.catppuccin-kvantum}/share/Kvantum/catppuccin-macchiato-lavender/cattpuccin-macchiato-lavender.svg";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,6 +73,8 @@ in
|
|||
'',XF86MonBrightnessUp, exec, brightnessctl set ${brightnessStep}%+''
|
||||
'',XF86AudioPrev, exec, playerctl previous''
|
||||
'',XF86AudioNext, exec, playerctl next''
|
||||
''${mainMod} CTRL, COMMA, exec, playerctl previous''
|
||||
''${mainMod} CTRL, PERIOD, exec, playerctl next''
|
||||
'',XF86AudioPlay, exec, playerctl play-pause''
|
||||
'',XF86AudioStop, exec, playerctl stop''
|
||||
'',XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle''
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
follow_mouse = 1;
|
||||
accel_profile = "flat";
|
||||
|
||||
kb_options = "caps:swapescape";
|
||||
|
||||
touchpad = {
|
||||
natural_scroll = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ in
|
|||
])
|
||||
++ [
|
||||
inputs.hyprgrass.packages.${system}.default
|
||||
# inputs.hyprtasking.packages.${system}.hyprtasking
|
||||
];
|
||||
|
||||
settings =
|
||||
|
|
|
|||
6
home/user/music-production.nix
Normal file
6
home/user/music-production.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
bitwig-studio
|
||||
];
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
package = inputs.neovim-nightly-overlay.packages.${pkgs.system}.default;
|
||||
withPython3 = true;
|
||||
extraPython3Packages = (
|
||||
plugins: with plugins; [
|
||||
ps: with ps; [
|
||||
debugpy
|
||||
]
|
||||
);
|
||||
|
|
@ -51,6 +51,7 @@
|
|||
clang-tools
|
||||
taplo
|
||||
zls
|
||||
vscode-js-debug
|
||||
];
|
||||
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
|
|
@ -215,7 +216,7 @@
|
|||
{ import = "lazyvim.plugins.extras.lang.omnisharp" },
|
||||
{ import = "lazyvim.plugins.extras.lang.clangd" },
|
||||
-- { import = "lazyvim.plugins.extras.lang.vue" },
|
||||
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
||||
{ import = "lazyvim.plugins.extras.lang.python" },
|
||||
{ import = "lazyvim.plugins.extras.lang.rust" },
|
||||
{ import = "lazyvim.plugins.extras.lang.tailwind" },
|
||||
|
|
@ -236,7 +237,7 @@
|
|||
{ import = "lazyvim.plugins.extras.editor.refactoring" },
|
||||
{ import = "lazyvim.plugins.extras.editor.harpoon2" },
|
||||
|
||||
-- uncomment to import/override with your plugins
|
||||
-- import/override your plugins
|
||||
{ import = "plugins" },
|
||||
|
||||
-- Vue & Typescript
|
||||
|
|
@ -256,6 +257,16 @@
|
|||
end
|
||||
},
|
||||
|
||||
-- Python debugpy
|
||||
{
|
||||
{
|
||||
"mfussenegger/nvim-dap-python",
|
||||
config = function ()
|
||||
require("dap-python").setup("python3")
|
||||
end
|
||||
},
|
||||
},
|
||||
|
||||
-- Nix
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
|
|
@ -292,10 +303,6 @@
|
|||
}
|
||||
},
|
||||
|
||||
-- disable DAP
|
||||
{ "mfussenegger/nvim-dap-python", enabled = false },
|
||||
{ "mfussenegger/nvim-dap", enabled = false },
|
||||
|
||||
-- disable mason.nvim, use config.extraPackages
|
||||
{ "williamboman/mason-lspconfig.nvim", enabled = false },
|
||||
{ "williamboman/mason.nvim", enabled = false },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue