19 lines
384 B
Nix
19 lines
384 B
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
mypolybar = pkgs.polybar.override {
|
|
alsaSupport = true;
|
|
mpdSupport = true;
|
|
pulseSupport = true;
|
|
};
|
|
in {
|
|
config.home.packages = with pkgs; [ font-awesome material-design-icons ];
|
|
|
|
config.services.polybar = {
|
|
enable = true;
|
|
package = mypolybar;
|
|
config = ./config.ini;
|
|
script = ''
|
|
polybar & disown
|
|
'';
|
|
};
|
|
}
|