Separate utils into a separate file

This commit is contained in:
Riley Apeldoorn 2022-05-19 20:13:00 +02:00
parent d0e49183a0
commit 91473a3972
2 changed files with 18 additions and 9 deletions

15
env.nix Normal file
View file

@ -0,0 +1,15 @@
# Packages I tend to use
{ pkgs }: pkgs.buildEnv {
name = "riley-user-utils";
paths = with pkgs; [
ripgrep
bottom
delta
skim
exa
bat
lf
fd
];
}

View file

@ -35,6 +35,8 @@ let named = submodule {
}; };
}; };
utils = import ../env.nix { inherit pkgs; };
in { in {
options.riley = with lib; { options.riley = with lib; {
@ -133,15 +135,7 @@ in {
curl curl
git git
# Coreutils utils
ripgrep
bottom
skim
exa
bat
lf
fd
]; ];