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
|
||||
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",
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
{
|
||||
programs.neovide = {
|
||||
enable = true;
|
||||
settings = {
|
||||
fork = true;
|
||||
font = {
|
||||
normal = "IosevkaTerm Nerd Font";
|
||||
size = 12;
|
||||
};
|
||||
};
|
||||
settings.fork = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue