2023-12-13 21:38:30 -05:00
|
|
|
{
|
|
|
|
pkgs,
|
2024-06-08 22:21:04 -04:00
|
|
|
self,
|
2023-12-13 21:38:30 -05:00
|
|
|
...
|
|
|
|
}: {
|
2024-07-28 01:44:16 -04:00
|
|
|
environment.systemPackages =
|
2024-08-31 19:16:06 -04:00
|
|
|
(builtins.attrValues {
|
|
|
|
inherit
|
|
|
|
(self.packages.${pkgs.system})
|
|
|
|
pokemon-colorscripts
|
|
|
|
repl
|
|
|
|
;
|
|
|
|
|
|
|
|
inherit
|
|
|
|
(pkgs.nodePackages)
|
|
|
|
undollar
|
|
|
|
;
|
|
|
|
|
|
|
|
inherit (pkgs) alejandra;
|
2024-07-28 01:44:16 -04:00
|
|
|
|
|
|
|
# Archiving
|
2024-08-31 19:16:06 -04:00
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
zip
|
|
|
|
unzip
|
|
|
|
p7zip
|
|
|
|
bzip2
|
|
|
|
gzip
|
|
|
|
gnutar
|
|
|
|
xz
|
|
|
|
;
|
2024-07-28 01:44:16 -04:00
|
|
|
|
|
|
|
# File management
|
2024-08-31 19:16:06 -04:00
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
findutils
|
|
|
|
diffutils
|
|
|
|
utillinux
|
|
|
|
which
|
|
|
|
imagemagick
|
|
|
|
;
|
2024-07-28 01:44:16 -04:00
|
|
|
|
2024-06-28 21:47:11 -04:00
|
|
|
# Networking
|
2024-08-31 19:16:06 -04:00
|
|
|
inherit (pkgs.dig) dnsutils;
|
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
openssh
|
|
|
|
rsync
|
|
|
|
wget
|
|
|
|
gnupg
|
|
|
|
;
|
2024-06-28 21:47:11 -04:00
|
|
|
|
|
|
|
# Misc CLI stuff
|
2024-08-31 19:16:06 -04:00
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
killall
|
|
|
|
nix-output-monitor
|
|
|
|
progress
|
|
|
|
tree
|
|
|
|
gnugrep
|
|
|
|
gnused
|
|
|
|
;
|
2024-07-28 01:44:16 -04:00
|
|
|
|
|
|
|
# Expected Stuff
|
2024-08-31 19:16:06 -04:00
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
hostname
|
|
|
|
man
|
|
|
|
perl
|
|
|
|
tzdata
|
|
|
|
;
|
|
|
|
})
|
2024-05-29 21:18:50 -04:00
|
|
|
++ [
|
|
|
|
# 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
|
|
|
|
'';
|
|
|
|
})
|
2024-07-28 01:44:16 -04:00
|
|
|
|
|
|
|
(pkgs.writeShellApplication {
|
|
|
|
name = "from";
|
|
|
|
|
2024-08-31 19:16:06 -04:00
|
|
|
runtimeInputs = builtins.attrValues {
|
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
coreutils
|
|
|
|
which
|
|
|
|
;
|
|
|
|
};
|
2024-07-28 01:44:16 -04:00
|
|
|
|
|
|
|
text = ''
|
|
|
|
for var do
|
|
|
|
realpath "$(which "$var")"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
})
|
2024-05-29 21:18:50 -04:00
|
|
|
];
|
2023-12-13 21:38:30 -05:00
|
|
|
}
|