fix hm config

This commit is contained in:
chaos 2024-07-24 16:34:58 +01:00
parent 938cc3f107
commit 853cc6b86d
No known key found for this signature in database

View file

@ -1,9 +1,8 @@
{ {
pkgs, pkgs,
nixosConfig ? null,
lib, lib,
... ...
}: let } @ inputs: let
inherit (lib.modules) mkIf; inherit (lib.modules) mkIf;
in { in {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -18,6 +17,6 @@ in {
tcpdump tcpdump
iftop iftop
speedtest-cli speedtest-cli
(mkIf (nixosConfig == null) mtr) (mkIf (!(inputs ? nixosConfig)) mtr)
]; ];
} }