nixcfg/homeManagerModules/cliApps/neofetch/default.nix
2024-04-07 22:16:33 -04:00

16 lines
290 B
Nix

{
pkgs,
lib,
config,
...
}: {
options = {
cliApps.neofetch.enable = lib.mkEnableOption "Enable neofetch.";
};
config = lib.mkIf config.cliApps.neofetch.enable {
home.packages = [pkgs.neofetch];
xdg.configFile."neofetch/config.conf".source = ./config.conf;
};
}