aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/apps/file.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/apps/file.nix b/gui/apps/file.nix
index 80a84b3..98228b4 100644
--- a/gui/apps/file.nix
+++ b/gui/apps/file.nix
@@ -4,9 +4,11 @@
home = {
packages = let
custom-sxiv = import ./sxiv.nix pkgs;
+ unstable = import <nixpkgs-unstable> {};
in with pkgs; [
# browser
pcmanfm
+ unstable.nnn file
# automounting
gvfs lxmenu-data shared_mime_info
# tools
@@ -23,6 +25,10 @@
GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ];
# use GTK theme in libreoffice
SAL_USE_VCLPLUGIN = "gtk";
+ # NNN: display folders in bright green
+ NNN_CONTEXT_COLORS = "2222";
+ # NNN: open all text files in $EDITOR
+ NNN_USE_EDITOR = 1;
};
file.".config/user-dirs.dirs".text = ''