aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-18 11:20:33 -0300
committerEuAndreh <eu@euandre.org>2023-02-18 11:20:36 -0300
commite9adc6b363eb3ea830cab403345224ca1f392eb2 (patch)
tree597e6a3122ec75021d9e4c0146ab2eca6f1024cf
parentetc/nix/configuration.nix: Fix path to emotion.png (diff)
downloaddotfiles-e9adc6b363eb3ea830cab403345224ca1f392eb2.tar.gz
dotfiles-e9adc6b363eb3ea830cab403345224ca1f392eb2.tar.xz
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/
-rw-r--r--etc/guix/home.scm1
-rw-r--r--etc/nix/configuration.nix1
2 files changed, 1 insertions, 1 deletions
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