System/modules/nix-on-droid/programs/util.nix

32 lines
675 B
Nix
Raw Normal View History

2022-09-04 02:46:27 -04:00
{ config, lib, pkgs, ... }:
let nathan = config.nathan;
in with lib; {
2022-09-04 02:46:27 -04:00
config = mkMerge [
(mkIf nathan.programs.utils.core {
2022-09-04 02:46:27 -04:00
environment.packages = with pkgs; [
# Basic command line utilities
wget
tmux
nano
unzip
any-nix-shell
htop
which
# For being able to update the flake
gitFull
# For nslookup
dnsutils
# Mosh for better high-latency ssh
mosh
# PV for viewing pipes
pv
# Openssh
openssh
2022-09-04 02:46:27 -04:00
];
})
(mkIf nathan.programs.utils.devel {
environment.packages = with pkgs; [ gcc binutils ];
})
2022-09-04 02:46:27 -04:00
];
}