From 1534f0a1322dc2854d4c81df430c0e1591027d08 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Wed, 20 Jul 2022 12:21:22 +0100 Subject: [PATCH] home-manager/common: Add mtr, make traceroute and iputils only on Linux --- home-manager/modules/common.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 915ec75..355381f 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -195,7 +195,7 @@ in whois ldns minicom - traceroute + mtr ncdu jq yq-go @@ -257,6 +257,14 @@ in }; }) (mkIf pkgs.stdenv.isLinux (mkMerge [ + { + home = { + packages = with pkgs; [ + iputils + traceroute + ]; + }; + } (mkIf (config.my.isStandalone && config.programs.fish.enable && config.my.fishCompletionsFrequency != null) { systemd.user = { services.fish-update-completions = {