[shell] Moves shell utilities to shell.nix. Adds direnv to development.nix
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# Dev apps
|
# Dev apps
|
||||||
@@ -12,4 +12,8 @@
|
|||||||
./nix.nix
|
./nix.nix
|
||||||
./lua.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, ... }:
|
{ 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 = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
|
|||||||
@@ -1,31 +1,8 @@
|
|||||||
# Configure my terminal of choice
|
# Configure my terminal of choice
|
||||||
{ pkgs, inputs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
home.packages = with 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
|
# Font
|
||||||
nerd-fonts.inconsolata
|
nerd-fonts.inconsolata
|
||||||
nerd-fonts.fira-code
|
nerd-fonts.fira-code
|
||||||
@@ -96,5 +73,3 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user