From d6c37557f98448e8ce8d06af3d435d0317625998 Mon Sep 17 00:00:00 2001 From: chaos Date: Wed, 24 Jul 2024 16:32:28 +0100 Subject: [PATCH] add mtr to home-manager configs --- profiles/home-manager/dev/all/network.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/profiles/home-manager/dev/all/network.nix b/profiles/home-manager/dev/all/network.nix index 32dc3ff..2968e76 100644 --- a/profiles/home-manager/dev/all/network.nix +++ b/profiles/home-manager/dev/all/network.nix @@ -1,4 +1,11 @@ -{pkgs, ...}: { +{ + pkgs, + nixosConfig ? null, + lib, + ... +}: let + inherit (lib.modules) mkIf; +in { home.packages = with pkgs; [ curl wget @@ -11,5 +18,6 @@ tcpdump iftop speedtest-cli + (mkIf (nixosConfig == null) mtr) ]; }