nixcfg/homeManagerModules/apps/neofetch/default.nix

16 lines
306 B
Nix
Raw Normal View History

2024-04-07 22:16:33 -04:00
{
pkgs,
lib,
config,
...
}: {
2024-04-05 16:43:19 -04:00
options = {
alyraffauf.apps.neofetch.enable = lib.mkEnableOption "Enable neofetch.";
2024-04-05 16:43:19 -04:00
};
2024-04-02 21:29:51 -04:00
config = lib.mkIf config.alyraffauf.apps.neofetch.enable {
2024-04-07 22:16:33 -04:00
home.packages = [pkgs.neofetch];
2024-04-02 21:29:51 -04:00
xdg.configFile."neofetch/config.conf".source = ./config.conf;
};
}