diff --git a/home/x/i3bar.nix b/home/x/i3bar.nix index 42fc426..afa170e 100644 --- a/home/x/i3bar.nix +++ b/home/x/i3bar.nix @@ -16,12 +16,6 @@ in example = ["Core 0" "Core 1" "Core 2" "Core 3"]; default = ""; }; - - networking.throughput_interfaces = mkOption { - type = types.listOf types.str; - example = [ "wlp1s0" ]; - default = [ ]; - }; }; config = lib.mkIf isEnabled { @@ -79,18 +73,6 @@ in chip = cfg.temperature.chip; inputs = cfg.temperature.inputs; } - ] ++ (lib.lists.optionals ((builtins.length cfg.networking.throughput_interfaces) != 0) - (map - (interface: - { - block = "net"; - device = interface; - interval = 1; - hide_inactive = true; - }) - - cfg.networking.throughput_interfaces) - ) ++ [ { block = "networkmanager"; primary_only = true; diff --git a/hosts/boreal/home.nix b/hosts/boreal/home.nix index d80f927..0b2e791 100644 --- a/hosts/boreal/home.nix +++ b/hosts/boreal/home.nix @@ -5,7 +5,6 @@ my.home.x.enable = true; my.home.x.i3bar.temperature.chip = "k10temp-pci-*"; my.home.x.i3bar.temperature.inputs = [ "Tccd1" ]; - my.home.x.i3bar.networking.throughput_interfaces = [ "enp8s0" "wlp4s0" ]; my.home.emacs.enable = true; my.theme = config.home-manager.users.alarsyo.my.themes.solarizedLight;