I ffing give up for today...

This commit is contained in:
Chris Kruining 2025-07-30 22:58:39 +02:00
parent ca645515a8
commit 41acda91f4
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
22 changed files with 253 additions and 75 deletions

View file

@ -0,0 +1,28 @@
{ config, options, lib, pkgs, namespace, ... }:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.${namespace}.editor.nano;
in
{
options.${namespace}.editor.nano = {
enable = mkEnableOption "nano";
};
config = mkIf cfg.enable {
programs.nano = {
enable = true;
syntaxHighlight = true;
nanorc = ''
set autoindent
set jumpyscrolling
set linenumbers
set mouse
set saveonexit
set smarthome
set tabstospaces
set tabsize 2
'';
};
};
}