add nixvim as text editor

This commit is contained in:
Gabriella Bere 2024-09-01 13:41:49 +01:00
parent 90e5c5528b
commit da68527e3c
2 changed files with 8 additions and 1 deletions

View file

@ -13,6 +13,7 @@
# ./librewolf.nix
./zsh.nix
./eza.nix
./nixvim.nix
];
# States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed
@ -52,7 +53,6 @@
];
home.sessionVariables = {
EDITOR = "nano";
DEFAULT_BROWSER = "${lib.getExe pkgs.firefox}";
# Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf
GDK_SCALE = 1;

7
home-manager/nixvim.nix Normal file
View file

@ -0,0 +1,7 @@
{config, pkgs, ... }: {
programs.nixvim = {
enable = true;
plugins.neotree.enable = true;
};
}