nix-config/home/features/cli/neofetch.nix

16 lines
248 B
Nix
Raw Normal View History

2024-05-15 09:25:27 +00:00
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.features.cli.neofetch;
in {
options.features.cli.neofetch.enable = mkEnableOption "enable neofetch";
config = mkIf cfg.enable {
home.packages = with pkgs; [neofetch];
};
}