Skip to content

Nano

programs.nano.enable

Whether to enable nano, a small user-friendly console text editor. Type: boolean

Default

true

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nano.nix

programs.nano.nanorc

The system-wide nano configuration. See {manpage}nanorc(5).

Type: strings concatenated with "\n"

Default

""

Example

'' set nowrap set tabstospaces set tabsize 2''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nano.nix

programs.nano.package

The nano package to use. Type: package

Default

pkgs.nano

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nano.nix

programs.nano.syntaxHighlight

Whether to enable syntax highlight for various languages. Type: boolean

Default

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/nano.nix