From 173b24844d805a0cadb4560d7f4bf3af9b9077f6 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Tue, 26 Mar 2024 14:00:21 -0500 Subject: [PATCH] tcptrack is Linux only --- modules/baseline.nix | 50 ++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/modules/baseline.nix b/modules/baseline.nix index 2271930..a5ed5a7 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -31,28 +31,32 @@ }; # Base packages that need to be in all my hosts - environment.systemPackages = with pkgs; [ - agenix - android-file-transfer - bitwarden-cli - bmon - configure_aws_creds - diffutils - git - gh - gnupatch - gregpy - findutils - file - hms # My own home manager switcher - htop - killall - nano - pciutils - pwgen - tcptrack - transcrypt - unzip - wget + environment.systemPackages = with pkgs; lib.mkMerge [ + [ + agenix + android-file-transfer + bitwarden-cli + bmon + configure_aws_creds + diffutils + git + gh + gnupatch + gregpy + findutils + file + hms # My own home manager switcher + htop + killall + nano + pciutils + pwgen + transcrypt + unzip + wget + ] + (lib.optional pkgs.stdenv.isLinux [ + tcptrack + ]) ]; }