From 007d23beef09e5f0ab5861909f9567a7477849ba Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 13 Apr 2024 23:56:18 +0530 Subject: [PATCH] enable nnn --- home/programs/default.nix | 1 + home/programs/nnn.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 home/programs/nnn.nix diff --git a/home/programs/default.nix b/home/programs/default.nix index 6093e8b..ab812f2 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -12,6 +12,7 @@ ./kitty.nix ./mpv.nix ./neovim.nix + ./nnn.nix ./ssh.nix ./starship.nix ./tmux.nix diff --git a/home/programs/nnn.nix b/home/programs/nnn.nix new file mode 100644 index 0000000..54690b3 --- /dev/null +++ b/home/programs/nnn.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: { + programs.nnn = { + enable = true; + plugins = { + src = (pkgs.fetchFromGitHub { + owner = "jarun"; + repo = "nnn"; + rev = "ad04944bdf9f4c2dc936a5a843040bf6966e619a"; + hash = "sha256-7fMmeh0YD9G3NSKsLVX3wmQuH7WO8CEms7MeXxMh0/E="; + }) + "/plugins"; + }; + }; +}