Compare commits
2 commits
c3662d5a58
...
5a5a5380a4
Author | SHA1 | Date | |
---|---|---|---|
5a5a5380a4 | |||
51c0f8f315 |
3 changed files with 16 additions and 8 deletions
|
@ -72,6 +72,11 @@ vim.keymap.set("n", "<C-k>", "<C-w><C-k>", { desc = "Move focus to the upper win
|
||||||
-- open neo-tree
|
-- open neo-tree
|
||||||
vim.keymap.set("n", "<leader>t", "<Cmd>Neotree reveal<CR>")
|
vim.keymap.set("n", "<leader>t", "<Cmd>Neotree reveal<CR>")
|
||||||
|
|
||||||
|
-- [[ neovide configuration ]]
|
||||||
|
if vim.g.neovide then
|
||||||
|
vim.o.guifont = "IosevkaTerm Nerd Font:h12"
|
||||||
|
end
|
||||||
|
|
||||||
-- [[ plugin configuration ]]
|
-- [[ plugin configuration ]]
|
||||||
require("catppuccin").setup({
|
require("catppuccin").setup({
|
||||||
flavour = "auto",
|
flavour = "auto",
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
{
|
{
|
||||||
programs.neovide = {
|
programs.neovide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings.fork = true;
|
||||||
fork = true;
|
|
||||||
font = {
|
|
||||||
normal = "IosevkaTerm Nerd Font";
|
|
||||||
size = 12;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,12 @@
|
||||||
nixos-wsl.nixosModules.default
|
nixos-wsl.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.sessionVariables.LD_LIBRARY_PATH = [ "/run/opengl-driver/lib" ];
|
environment = {
|
||||||
|
sessionVariables.LD_LIBRARY_PATH = [ "/run/opengl-driver/lib" ];
|
||||||
|
systemPackages = [
|
||||||
|
(pkgs.writeShellScriptBin "neovide" ''/bin/neovide-unwrapped --wsl "$@" &'')
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
wsl = {
|
wsl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -23,6 +28,10 @@
|
||||||
name = "code";
|
name = "code";
|
||||||
src = lib.escapeShellArg "/mnt/c/Users/Leo/AppData/Local/Programs/Microsoft VS Code/bin/code";
|
src = lib.escapeShellArg "/mnt/c/Users/Leo/AppData/Local/Programs/Microsoft VS Code/bin/code";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "neovide-unwrapped";
|
||||||
|
src = lib.escapeShellArg "/mnt/c/Program Files/Neovide/neovide.exe";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
wslConf.network = {
|
wslConf.network = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue