mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:03:55 -05:00
16 lines
306 B
Nix
16 lines
306 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options = {
|
|
alyraffauf.apps.neofetch.enable = lib.mkEnableOption "Enable neofetch.";
|
|
};
|
|
|
|
config = lib.mkIf config.alyraffauf.apps.neofetch.enable {
|
|
home.packages = [pkgs.neofetch];
|
|
xdg.configFile."neofetch/config.conf".source = ./config.conf;
|
|
};
|
|
}
|