nixcfg/homeManagerModules/apps/fastfetch/default.nix

16 lines
313 B
Nix
Raw Normal View History

2024-05-04 07:02:48 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.apps.fastfetch.enable = lib.mkEnableOption "Enable fastfetch.";
};
config = lib.mkIf config.alyraffauf.apps.fastfetch.enable {
home.packages = [pkgs.fastfetch];
xdg.configFile."fastfetch/config.jsonc".source = ./config.jsonc;
};
}