16 lines
252 B
Nix
16 lines
252 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.features.cli.fastfetch;
|
|
in {
|
|
options.features.cli.fastfetch.enable = mkEnableOption "enable fastfetch";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [fastfetch];
|
|
};
|
|
}
|