mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-29 20:09:17 -05:00
12 lines
281 B
Nix
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;
|
||
|
|
||
|
};
|
||
|
}
|