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

38 lines
731 B
Nix
Raw Normal View History

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