Issue description
The nixpkgs/nixos/modules/programs/yabar.nix file allows for adding extra parameters using the .extra parameter. The extra parameters are a key-value pair. This is perfect, however it turns the values into strings and for example the background-color-rgb does not take a String value type. There are several more non String options, see: https://github.com/geommer/yabar/wiki/Bar-specific-options
Steps to reproduce
Edit configuration.nix and add:
programs.yabar.enable = true;
programs.yabar.bars.topbar.extra: { background-color-rgb = "0x0000ff";};
Of course also run a rebuild
Effect, the bar does not change to the desired color.
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
- system:
"x86_64-linux"
- host os:
Linux 4.19.33-hardened, NixOS, 19.09pre174415.d956f2279b8 (Loris)
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.2
- channels(root):
"nixos-19.09pre174415.d956f2279b8"
- nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
PS. This is all to the best of my current knowledge, as I'm pretty new to NixOS.
Issue description
The
nixpkgs/nixos/modules/programs/yabar.nixfile allows for adding extra parameters using the .extra parameter. The extra parameters are a key-value pair. This is perfect, however it turns the values into strings and for example the background-color-rgb does not take a String value type. There are several more non String options, see: https://github.com/geommer/yabar/wiki/Bar-specific-optionsSteps to reproduce
Edit
configuration.nixand add:Of course also run a rebuild
Effect, the bar does not change to the desired color.
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"and paste theresults.
"x86_64-linux"Linux 4.19.33-hardened, NixOS, 19.09pre174415.d956f2279b8 (Loris)yesyesnix-env (Nix) 2.2"nixos-19.09pre174415.d956f2279b8"/nix/var/nix/profiles/per-user/root/channels/nixosPS. This is all to the best of my current knowledge, as I'm pretty new to NixOS.