Extract nano settings into a shared modules
This commit is contained in:
parent
ae246349e1
commit
92543dc702
5 changed files with 15 additions and 30 deletions
11
modules/nano.nix
Normal file
11
modules/nano.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ ... }: {
|
||||
environment.variables.EDITOR = "nano";
|
||||
|
||||
programs.nano = {
|
||||
enable = true;
|
||||
nanorc = ''
|
||||
set autoindent
|
||||
set linenumbers
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue