From a0794330ca3159822edadec29eb98eedc3cc8fe9 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 13 Jan 2025 18:58:01 -0800 Subject: [PATCH] feat(home): Add nix repl abbr --- modules/home/base/nix/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/home/base/nix/default.nix b/modules/home/base/nix/default.nix index f507f7f..592efc2 100644 --- a/modules/home/base/nix/default.nix +++ b/modules/home/base/nix/default.nix @@ -56,5 +56,11 @@ allowUnfree = true; } ''; + + home.shellAbbrs = { + nrepl = '' + nix repl --expr 'rec {pkgs=(import {}); lib=pkgs.lib;}' + ''; + }; }; }