Massive refactoring in configurable modules

This commit is contained in:
Antoine Viallon 2022-01-21 20:04:40 +01:00
commit 4319f5a3cc
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
14 changed files with 603 additions and 0 deletions

17
programs/nano.nix Normal file
View 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 " "
'';
}