feat: add default editor option and configuration

This commit is contained in:
Youwen Wu 2024-12-24 20:55:07 -08:00
parent f889514d7d
commit 2823e5284e
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
3 changed files with 12 additions and 4 deletions

View file

@ -84,10 +84,6 @@ in
inputs.viminal.packages.${pkgs.system}.default
];
environment.variables = {
EDITOR = "nvim";
};
# tells electron apps to use Wayland
environment.sessionVariables = lib.mkIf cfg.waylandFixes {
NIXOS_OZONE_WL = "1";