nixos-config/user/shell/cli-collection.nix
2024-04-08 17:58:22 -05:00

41 lines
812 B
Nix

{ pkgs, ... }:
{
# Collection of useful CLI apps
home.packages = with pkgs; [
# Command Line
disfetch lolcat cowsay
starfetch
cava
killall
libnotify
timer
brightnessctl
gnugrep
bat eza fd bottom ripgrep
rsync
unzip
tmux
w3m
pandoc
hwinfo
pciutils
numbat
(pkgs.callPackage ../pkgs/smartcalc.nix { })
#(pkgs.writeShellScriptBin "sc" ''smartcalc'')
#(pkgs.callPackage ../pkgs/pokemon-colorscripts.nix { })
#(pkgs.python3Packages.callPackage ../pkgs/impressive.nix { })
(pkgs.writeShellScriptBin "airplane-mode" ''
#!/bin/sh
connectivity="$(nmcli n connectivity)"
if [ "$connectivity" == "full" ]
then
nmcli n off
else
nmcli n on
fi
'')
vim neovim
];
}