nixos-configs/common/packages.nix
matt1432 b09cceb259
All checks were successful
Discord / discord commits (push) Has been skipped
feat: add 'from' script to get real path of exe
2024-07-28 01:44:16 -04:00

79 lines
1.3 KiB
Nix

{
pkgs,
self,
...
}: {
environment.systemPackages =
(with self.packages.${pkgs.system}; [
pokemon-colorscripts
repl
])
++ (with pkgs.nodePackages; [
undollar
])
++ (with pkgs; [
alejandra
# Archiving
zip
unzip
p7zip
rar
bzip2
gzip
gnutar
xz
# File management
findutils
diffutils
utillinux
which
imagemagick
# Networking
dig.dnsutils
openssh
rsync
wget
gnupg
# Misc CLI stuff
killall
nix-output-monitor
progress
tree
gnugrep
gnused
# Expected Stuff
hostname
man
perl
tzdata
])
++ [
# This could help as well: nix derivation show -r /run/current-system
(pkgs.writeShellApplication {
name = "listDerivs";
text = ''
nix-store --query --requisites /run/current-system | cut -d- -f2- | sort -u
'';
})
(pkgs.writeShellApplication {
name = "from";
runtimeInputs = with pkgs; [
coreutils
which
];
text = ''
for var do
realpath "$(which "$var")"
done
'';
})
];
}