feat(btop): add btop and catppuccin colours

This commit is contained in:
514fpv 2024-02-18 21:48:47 +08:00
parent 09a74fce37
commit 03373732c4
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
2 changed files with 118 additions and 0 deletions

17
home/btop/nixos.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.home.btop;
in {
options.home.btop = {
enable = mkEnableOption "btop" // { default = !config.home.util.minimal; };
};
config = {
users.homeModules = [
# this module passes gyroflow configuration to home-manager
{ passthrough.btop = cfg; }
];
};
}