From 4817732c6c30111d7691df4bd39bbfa110fa70b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 2 Apr 2022 11:57:45 +0100 Subject: [PATCH] battery time, remove unstable temp sensors --- nixos/boxes/foureighty/thermal.nix | 5 ----- nixos/i3/i3status-rust.nix | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/nixos/boxes/foureighty/thermal.nix b/nixos/boxes/foureighty/thermal.nix index 27fd6c24..69797695 100644 --- a/nixos/boxes/foureighty/thermal.nix +++ b/nixos/boxes/foureighty/thermal.nix @@ -37,11 +37,6 @@ name = "pch_skylake"; indices = [ 1 ]; } - { - type = "hwmon"; - query = "/sys/devices/platform/thinkpad_hwmon/hwmon"; - indices = [ 1 2 ]; - } { type = "tpacpi"; query = "/proc/acpi/ibm/thermal"; diff --git a/nixos/i3/i3status-rust.nix b/nixos/i3/i3status-rust.nix index ece3ac21..6b191844 100644 --- a/nixos/i3/i3status-rust.nix +++ b/nixos/i3/i3status-rust.nix @@ -31,12 +31,14 @@ device = "BAT0"; allow_missing = true; hide_missing = true; + format = "{time}"; } { block = "battery"; device = "BAT1"; allow_missing = true; hide_missing = true; + format = "{time}"; } ]; };