2022-09-04 02:32:49 -04:00
|
|
|
{ config, lib, pkgs, ... }:
|
2022-10-13 22:13:43 -04:00
|
|
|
let nathan = config.nathan;
|
|
|
|
in with lib; {
|
2022-09-04 02:32:49 -04:00
|
|
|
config = mkMerge [
|
2022-10-13 22:13:43 -04:00
|
|
|
(mkIf nathan.programs.utils.core {
|
2022-09-04 02:32:49 -04:00
|
|
|
environment.systemPackages = with pkgs; [
|
2022-10-13 22:13:43 -04:00
|
|
|
# Basic command line utilities
|
|
|
|
wget
|
|
|
|
tmux
|
|
|
|
nano
|
|
|
|
unzip
|
|
|
|
any-nix-shell
|
|
|
|
htop
|
|
|
|
# For nslookup
|
|
|
|
dnsutils
|
|
|
|
# Mosh for better high-latency ssh
|
|
|
|
mosh
|
|
|
|
# PV for viewing pipes
|
|
|
|
pv
|
2022-09-04 02:32:49 -04:00
|
|
|
];
|
|
|
|
})
|
2022-10-13 22:13:43 -04:00
|
|
|
(mkIf (nathan.programs.utils.devel && pkgs.stdenv.isLinux) {
|
|
|
|
environment.systemPackages = with pkgs; [ gcc binutils ];
|
|
|
|
})
|
2022-09-04 02:32:49 -04:00
|
|
|
];
|
|
|
|
}
|