[shell] Moves shell utilities to shell.nix. Adds direnv to development.nix

This commit is contained in:
2025-02-16 12:28:37 -08:00
parent f09ea34c23
commit 12d734995e
3 changed files with 33 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
imports = [
# Dev apps
@@ -12,4 +12,8 @@
./nix.nix
./lua.nix
];
home.packages = with pkgs; [
direnv
];
}

View File

@@ -1,6 +1,32 @@
# Set up the user's prompt as ZSH with Starship
# Set up the user's prompt as ZSH, Starship and some useful utilities
{ pkgs, ... }:
{
home.packages = with pkgs; [
# System
htop
btop
neofetch
killall
# Files
zip
xz
unzip
p7zip
file
tree
ranger
# Networking
dnsutils
socat
httpie
# Other
jq
];
programs.zsh = {
enable = true;
envExtra = ''

View File

@@ -1,31 +1,8 @@
# Configure my terminal of choice
{ pkgs, inputs, ... }:
{ pkgs, ... }:
{
home.packages = with pkgs; [
# System
htop
btop
neofetch
killall
# Files
zip
xz
unzip
p7zip
file
tree
ranger
# Networking
dnsutils
socat
httpie
# Other
jq
# Font
nerd-fonts.inconsolata
nerd-fonts.fira-code
@@ -96,5 +73,3 @@
};
};
}