[shell] Moves shell utilities to shell.nix. Adds direnv to development.nix
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
# Dev apps
|
||||
@@ -12,4 +12,8 @@
|
||||
./nix.nix
|
||||
./lua.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
direnv
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
@@ -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 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user