From e9adc6b363eb3ea830cab403345224ca1f392eb2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 18 Feb 2023 11:20:33 -0300 Subject: Move xmobar back from Guix to Nix xmobar is probably missing some build inputs, as it can't show the volume. According to the documentation [0], the "alsa-mixer" and "libasound" packages need to be installed for that to work. I tried adding "alsa-lib" as an input to the xmobar package, but it didn't work. Everything else works correctly (even the font choice, which doesn't work with the Nix version of the package), but xmobar emits a constant warning (about 1/s): ALSA lib control.c:1410:(snd_ctl_open_conf) Unknown field libs and the "Volume" section shows as "Vol: N/A% N/A" instead of "Updating...", which is what usually happens when an error occurs. So I'm sticking to the Nix version of xmobar, since I'm not (yet) using xmobar in my Guix installation (yet). [0]: https://archives.haskell.org/projects.haskell.org/xmobar/ --- etc/guix/home.scm | 1 - etc/nix/configuration.nix | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/guix/home.scm b/etc/guix/home.scm index 25747b0..f2458aa 100644 --- a/etc/guix/home.scm +++ b/etc/guix/home.scm @@ -468,7 +468,6 @@ scrot xmessage dmenu - xmobar xmodmap brightnessctl lightdm diff --git a/etc/nix/configuration.nix b/etc/nix/configuration.nix index 4dc4f79..a2e52d8 100644 --- a/etc/nix/configuration.nix +++ b/etc/nix/configuration.nix @@ -81,6 +81,7 @@ enableDebugInfo = true; systemPackages = with pkgs; [ + xmobar slack zoom-us kubernetes -- cgit v1.2.3