nixcfg/homeManagerModules/cliApps/neofetch/default.nix

12 lines
281 B
Nix
Raw Normal View History

2024-04-02 21:29:51 -04:00
{ 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;
};
}