From e47f41a3c05ee20399991fed9bac5b77256e90bb Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 18 Apr 2024 16:39:39 +0200 Subject: [PATCH] Explicitly disable nano --- system/shared/programs.nix | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/system/shared/programs.nix b/system/shared/programs.nix index d9eeaf9..9e00d59 100644 --- a/system/shared/programs.nix +++ b/system/shared/programs.nix @@ -1,10 +1,17 @@ -{ +{lib, ...}: let + inherit (lib) mkForce; +in { - # Install an actually usable system-wide editor - programs.neovim = { - enable = true; - defaultEditor = true; - vimAlias = true; - viAlias = true; + programs = { + # Explicitly disable nano, it sucks and I don't want it + nano.enable = mkForce false; + + # Install an actually usable system-wide editor + neovim = { + enable = true; + defaultEditor = true; + vimAlias = true; + viAlias = true; + }; }; }