nixos-config/home/x/i3bar.nix

23 lines
391 B
Nix
Raw 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 = {
2021-04-19 19:27:46 +02:00
theme = "solarized-light";
2021-04-19 14:58:52 +02:00
};
};
};
};
}