nixcfg/homeManagerModules/cliApps/neofetch/default.nix

16 lines
290 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
2024-04-05 16:43:19 -04:00
options = {
cliApps.neofetch.enable = lib.mkEnableOption "Enable neofetch.";
};
2024-04-02 21:29:51 -04:00
config = lib.mkIf config.cliApps.neofetch.enable {
2024-04-07 22:16:33 -04:00
home.packages = [pkgs.neofetch];
2024-04-02 21:29:51 -04:00
xdg.configFile."neofetch/config.conf".source = ./config.conf;
};
}