Compare commits

...

2 commits

3 changed files with 16 additions and 8 deletions

View file

@ -72,6 +72,11 @@ vim.keymap.set("n", "<C-k>", "<C-w><C-k>", { desc = "Move focus to the upper win
-- open neo-tree
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 ]]
require("catppuccin").setup({
flavour = "auto",

View file

@ -2,12 +2,6 @@
{
programs.neovide = {
enable = true;
settings = {
fork = true;
font = {
normal = "IosevkaTerm Nerd Font";
size = 12;
};
};
settings.fork = true;
};
}

View file

@ -10,7 +10,12 @@
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 = {
enable = true;
@ -23,6 +28,10 @@
name = "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 = {