nixcfg/home/features/cli/neofetch.nix
nomadics9 16170bdebc init
2024-10-06 19:48:10 +03:00

15 lines
245 B
Nix

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