nixos-config/home/x/i3bar.nix

23 lines
389 B
Nix
Raw Permalink Normal View History

2021-04-19 14:58:52 +02:00
{ config, lib, pkgs, ... }:
let
isEnabled = config.my.home.x.enable;
in
{
config = lib.mkIf isEnabled {
home.packages = with pkgs; [
alsaUtils # Used by `sound` block
lm_sensors # Used by `temperature` block
];
programs.i3status-rust = {
enable = true;
bars = {
top = {
theme = "gruvbox-light";
};
};
};
};
}