nixcfg/homeManagerModules/cliApps/neofetch/default.nix
2024-04-02 21:29:51 -04:00

12 lines
281 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;
};
}