diff --git a/home-manager/modules/polybar/default.nix b/home-manager/modules/polybar/default.nix index 3d0e66f..815dcfc 100644 --- a/home-manager/modules/polybar/default.nix +++ b/home-manager/modules/polybar/default.nix @@ -249,7 +249,7 @@ in "module/headset-battery" = { type = "custom/script"; exec = "${headset-battery}"; - interval = 5; + interval = 1; format.prefix = " "; format.padding = 2; diff --git a/users/erwin/work.nix b/users/erwin/work.nix index d17270a..77f5bb7 100644 --- a/users/erwin/work.nix +++ b/users/erwin/work.nix @@ -96,7 +96,6 @@ in ffmpeg_5-full git gnome.nautilus - headsetcontrol icemon imagemagick iotop @@ -201,6 +200,14 @@ in services.teamviewer.enable = true; + environment.systemPackages = with pkgs; [ + headsetcontrol + ]; + + services.udev.packages = with pkgs; [ + headsetcontrol + ]; + services.xserver = { layout = "us,us"; xkbVariant = "colemak,";