diff --git a/profiles/home-manager/dev/all/network.nix b/profiles/home-manager/dev/all/network.nix index 2968e76..b4279f0 100644 --- a/profiles/home-manager/dev/all/network.nix +++ b/profiles/home-manager/dev/all/network.nix @@ -1,9 +1,8 @@ { pkgs, - nixosConfig ? null, lib, ... -}: let +} @ inputs: let inherit (lib.modules) mkIf; in { home.packages = with pkgs; [ @@ -18,6 +17,6 @@ in { tcpdump iftop speedtest-cli - (mkIf (nixosConfig == null) mtr) + (mkIf (!(inputs ? nixosConfig)) mtr) ]; }