2024-03-16 19:03:53 +01:00
|
|
|
{ inputs, pkgs, ... }: {
|
2024-02-14 21:49:54 +01:00
|
|
|
# NNN Settings
|
|
|
|
programs.nnn = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.nnn.override ({ withNerdIcons = true; });
|
2024-03-16 19:03:53 +01:00
|
|
|
bookmarks = {
|
|
|
|
d = "~/Documents";
|
|
|
|
D = "~/Downloads";
|
|
|
|
p = "~/Pictures";
|
|
|
|
v = "~/Videos";
|
|
|
|
};
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
pmount
|
|
|
|
ffmpegthumbnailer
|
|
|
|
mediainfo
|
|
|
|
ueberzugpp
|
|
|
|
poppler_utils
|
|
|
|
gnome-epub-thumbnailer
|
|
|
|
nsxiv
|
|
|
|
];
|
|
|
|
plugins.mappings = {
|
|
|
|
u = "nmount";
|
|
|
|
c = "chksum";
|
|
|
|
r = "gitroot";
|
|
|
|
v = "imgview";
|
|
|
|
m = "mtpmount";
|
|
|
|
d = "xdgdefault";
|
|
|
|
x = "togglex";
|
|
|
|
p = "preview-tui";
|
|
|
|
};
|
|
|
|
plugins.src = (pkgs.fetchFromGitHub {
|
|
|
|
owner = "jarun";
|
|
|
|
repo = "nnn";
|
|
|
|
rev = "v4.9";
|
|
|
|
sha256 = "sha256-g19uI36HyzTF2YUQKFP4DE2ZBsArGryVHhX79Y0XzhU=";
|
|
|
|
}) + "/plugins";
|
2024-02-14 21:49:54 +01:00
|
|
|
};
|
|
|
|
}
|