From 853cc6b86d510fe2c1709f0944210c93a161eec6 Mon Sep 17 00:00:00 2001 From: chaos Date: Wed, 24 Jul 2024 16:34:58 +0100 Subject: [PATCH] fix hm config --- profiles/home-manager/dev/all/network.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) ]; }