nixos/home/btop/nixos.nix
2025-01-13 11:52:09 +08:00

25 lines
354 B
Nix

{
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; }
];
};
}