mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: work on laptop and shell stuff
This commit is contained in:
parent
a4b63004fb
commit
1071288f6e
21 changed files with 165 additions and 38 deletions
6
home/profiles/shell/bottom.nix
Normal file
6
home/profiles/shell/bottom.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
programs.bottom = {
|
||||
enable = true;
|
||||
package = pkgs.bottom;
|
||||
};
|
||||
}
|
||||
19
home/profiles/shell/data.nix
Normal file
19
home/profiles/shell/data.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{pkgs, ...}: {
|
||||
programs.jq = {
|
||||
enable = true;
|
||||
};
|
||||
programs.jqp = {
|
||||
enable = true;
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
htmlq # JQ for HTML
|
||||
gron # Make JSON greppable
|
||||
jless # Command-line JSON viewer
|
||||
jo # Interface for creating JSON objects in shell
|
||||
jc # Turn output of common/popular packages into JSON
|
||||
dasel # JSON, YAML, TOML, XML, and CSV multitool
|
||||
yj # Convert between YAML, TOML, JSON, and HCL. Preserves map order.
|
||||
csview # CSV viewer
|
||||
glow # Markdown viewer
|
||||
];
|
||||
}
|
||||
5
home/profiles/shell/htop.nix
Normal file
5
home/profiles/shell/htop.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
programs.htop = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,8 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
watchexec
|
||||
htop
|
||||
btop
|
||||
gdu
|
||||
nixpkgs-fmt
|
||||
file
|
||||
|
|
@ -10,7 +8,6 @@
|
|||
sd
|
||||
sops
|
||||
fd
|
||||
ripgrep
|
||||
rename
|
||||
tmate
|
||||
socat
|
||||
|
|
@ -21,5 +18,26 @@
|
|||
hyperfine
|
||||
poop
|
||||
nix-search-cli
|
||||
pandoc
|
||||
slides
|
||||
sc-im
|
||||
asciinema
|
||||
bandwhich
|
||||
pciutils
|
||||
bingrep
|
||||
chafa
|
||||
dust
|
||||
eva
|
||||
gfold
|
||||
kmon
|
||||
lemmeknow
|
||||
lnav
|
||||
pastel
|
||||
pipe-rename
|
||||
procs
|
||||
tz
|
||||
tre
|
||||
tmpmail
|
||||
wikit
|
||||
];
|
||||
}
|
||||
|
|
|
|||
10
home/profiles/shell/ripgrep.nix
Normal file
10
home/profiles/shell/ripgrep.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
_: {
|
||||
programs = {
|
||||
ripgrep = {
|
||||
enable = true;
|
||||
};
|
||||
ripgrep-all = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
5
home/profiles/shell/xplr.nix
Normal file
5
home/profiles/shell/xplr.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
programs.xplr = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,21 +1,6 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# ensure .local/share/z is created
|
||||
xdg.dataFile."z/.keep".text = "";
|
||||
|
||||
programs.zsh = {
|
||||
localVariables = {
|
||||
_Z_DATA = "${config.xdg.dataHome}/z/data";
|
||||
};
|
||||
plugins =
|
||||
map (plugin: (with pkgs.${plugin}; {
|
||||
name = pname;
|
||||
inherit src;
|
||||
})) [
|
||||
"zsh-z"
|
||||
];
|
||||
_: {
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,7 +90,8 @@ in {
|
|||
'';
|
||||
shellAliases = mkMerge [
|
||||
{
|
||||
nixdirfmt = "nixpkgs-fmt $(fd -e nix)";
|
||||
cat = "bat";
|
||||
top = "btm";
|
||||
dmesg = "dmesg -HP";
|
||||
hg = "history 0 | rg";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue