home-manager/common: Add mtr, make traceroute and iputils only on Linux

This commit is contained in:
Jack O'Sullivan 2022-07-20 12:21:22 +01:00
parent 2e843a0083
commit 1534f0a132

View File

@ -195,7 +195,7 @@ in
whois
ldns
minicom
traceroute
mtr
ncdu
jq
yq-go
@ -257,6 +257,14 @@ in
};
})
(mkIf pkgs.stdenv.isLinux (mkMerge [
{
home = {
packages = with pkgs; [
iputils
traceroute
];
};
}
(mkIf (config.my.isStandalone && config.programs.fish.enable && config.my.fishCompletionsFrequency != null) {
systemd.user = {
services.fish-update-completions = {