nixcfg/homeManagerModules/cliApps/neofetch/default.nix

14 lines
287 B
Nix
Raw Normal View History

2024-04-02 21:29:51 -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 {
home.packages = [ pkgs.neofetch ];
xdg.configFile."neofetch/config.conf".source = ./config.conf;
};
}