mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
This reverts commit 0c25e7fd34.
The slightly decreased evaluation time isn't worth the added maintenance burden
16 lines
341 B
Nix
16 lines
341 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.programs.btop.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.programs.btop.enable {
|
|
programs.btop = {
|
|
enable = true;
|
|
settings.color_theme =
|
|
{
|
|
dark = "Default";
|
|
light = "adwaita";
|
|
}
|
|
.${config.custom.theme};
|
|
};
|
|
};
|
|
}
|