Explicitly disable nano

This commit is contained in:
ItsDrike 2024-04-18 16:39:39 +02:00
parent edade19d64
commit 52e69db827
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -1,10 +1,17 @@
{ (lib, ...): let
inherit (lib) mkForce;
in {
# Install an actually usable system-wide editor programs = {
programs.neovim = { # Explicitly disable nano, it sucks and I don't want it
enable = true; nano.enable = mkForce false;
defaultEditor = true;
vimAlias = true; # Install an actually usable system-wide editor
viAlias = true; neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
viAlias = true;
};
}; };
} }