I ffing give up for today...
This commit is contained in:
parent
ca645515a8
commit
41acda91f4
22 changed files with 253 additions and 75 deletions
|
@ -2,29 +2,29 @@
|
|||
let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
||||
cfg = config.${namespace}.editors.nano;
|
||||
cfg = config.${namespace}.editor.nano;
|
||||
in
|
||||
{
|
||||
options.${namespace}.editors.nano = {
|
||||
options.${namespace}.editor.nano = {
|
||||
enable = mkEnableOption "nano";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ nano ];
|
||||
|
||||
programs.nano = {
|
||||
enable = true;
|
||||
syntaxHighlight = true;
|
||||
nanorc = ''
|
||||
set autoindent
|
||||
set jumpyscrolling
|
||||
set linenumbers
|
||||
set mouse
|
||||
set saveonexit
|
||||
set smarthome
|
||||
set tabstospaces
|
||||
set tabsize 2
|
||||
'';
|
||||
};
|
||||
# programs.nano = {
|
||||
# enable = true;
|
||||
# syntaxHighlight = true;
|
||||
# nanorc = ''
|
||||
# set autoindent
|
||||
# set jumpyscrolling
|
||||
# set linenumbers
|
||||
# set mouse
|
||||
# set saveonexit
|
||||
# set smarthome
|
||||
# set tabstospaces
|
||||
# set tabsize 2
|
||||
# '';
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue