diff options
author | Anselm Schüler <mail@anselmschueler.com> | 2023-10-05 00:12:42 +0200 |
---|---|---|
committer | Anselm Schüler <mail@anselmschueler.com> | 2023-10-05 00:12:42 +0200 |
commit | 8679b69dcd1f34ae9ae51bdbc65dad3ec91ef501 (patch) | |
tree | 0a7894dc52134d415cadb30520e65dbf092babd4 | |
parent | 28562b6c75906da822189e6f93bf45768dc04ee6 (diff) |
nixos/nano: include extra syntax highlight files when syntaxHighlight is true
-rw-r--r-- | nixos/modules/programs/nano.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/programs/nano.nix b/nixos/modules/programs/nano.nix index 28ddb4aaf66ff..7a5e32fa79996 100644 --- a/nixos/modules/programs/nano.nix +++ b/nixos/modules/programs/nano.nix @@ -40,6 +40,7 @@ in etc.nanorc.text = (lib.optionalString cfg.syntaxHighlight '' # load syntax highlighting files include "${cfg.package}/share/nano/*.nanorc" + include "${cfg.package}/share/nano/extra/*.nanorc" '') + cfg.nanorc; systemPackages = [ cfg.package ]; }; |