mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 15:29:07 +01:00
23 lines
415 B
Nix
23 lines
415 B
Nix
{
|
|
config,
|
|
modulesPath,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ "${modulesPath}/programs/btop.nix" ];
|
|
|
|
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};
|
|
};
|
|
};
|
|
}
|