mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
Massive refactoring in configurable modules
This commit is contained in:
commit
4319f5a3cc
14 changed files with 603 additions and 0 deletions
17
programs/nano.nix
Normal file
17
programs/nano.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{config, pkgs, ...}:
|
||||
{
|
||||
environment.systemPackages = [ pkgs.nanorc ];
|
||||
programs.nano.syntaxHighlight = false;
|
||||
programs.nano.nanorc = ''
|
||||
set tabstospaces
|
||||
set tabsize 2
|
||||
set nowrap
|
||||
set smarthome
|
||||
set positionlog
|
||||
|
||||
include "${pkgs.nano}/share/nano/*.nanorc"
|
||||
include "${pkgs.nanorc}/share/*.nanorc"
|
||||
|
||||
extendsyntax Makefile tabgives " "
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue