Headsetcontrol tweaks

- Add headsetcontrol to services.udev.packages
- Set battery check interval to 1 second
This commit is contained in:
Erwin Boskma 2023-01-12 15:30:40 +01:00
parent ca4b1f353e
commit 88154d34ab
Signed by: erwin
SSH key fingerprint: SHA256:Vw4O4qA0i5x65Y7yyjDpWDCSMSXAhqT4X7cJ3frdnLY
2 changed files with 9 additions and 2 deletions

View file

@ -249,7 +249,7 @@ in
"module/headset-battery" = { "module/headset-battery" = {
type = "custom/script"; type = "custom/script";
exec = "${headset-battery}"; exec = "${headset-battery}";
interval = 5; interval = 1;
format.prefix = " "; format.prefix = " ";
format.padding = 2; format.padding = 2;

View file

@ -96,7 +96,6 @@ in
ffmpeg_5-full ffmpeg_5-full
git git
gnome.nautilus gnome.nautilus
headsetcontrol
icemon icemon
imagemagick imagemagick
iotop iotop
@ -201,6 +200,14 @@ in
services.teamviewer.enable = true; services.teamviewer.enable = true;
environment.systemPackages = with pkgs; [
headsetcontrol
];
services.udev.packages = with pkgs; [
headsetcontrol
];
services.xserver = { services.xserver = {
layout = "us,us"; layout = "us,us";
xkbVariant = "colemak,"; xkbVariant = "colemak,";