Extract nano settings into a shared modules

This commit is contained in:
Nettika 2025-10-08 19:39:30 -07:00
parent ae246349e1
commit 92543dc702
5 changed files with 15 additions and 30 deletions

View file

@ -1,4 +1,5 @@
{
nano = ./nano.nix;
nettika = ./nettika.nix;
promptmoji = ./promptmoji.nix;
}

11
modules/nano.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }: {
environment.variables.EDITOR = "nano";
programs.nano = {
enable = true;
nanorc = ''
set autoindent
set linenumbers
'';
};
}