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