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) ]; }