mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 21:19:07 +01:00
btop: Init module
This commit is contained in:
parent
ef4ecd7fb5
commit
bb0aaeceea
1 changed files with 16 additions and 0 deletions
16
modules/home/programs/btop.nix
Normal file
16
modules/home/programs/btop.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
{
|
||||||
|
options.custom.programs.btop.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
|
config = lib.mkIf config.custom.programs.btop.enable {
|
||||||
|
programs.btop = {
|
||||||
|
enable = true;
|
||||||
|
settings.settings =
|
||||||
|
{
|
||||||
|
dark = "adwaita-dark";
|
||||||
|
light = "adwaita";
|
||||||
|
}
|
||||||
|
.${config.custom.theme};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue