feat(systems/fuji-wsl): add neovide support
This commit is contained in:
parent
c3662d5a58
commit
51c0f8f315
1 changed files with 10 additions and 1 deletions
|
@ -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