mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 16:23:55 -05:00
16 lines
313 B
Nix
16 lines
313 B
Nix
{
|
|
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;
|
|
};
|
|
}
|