2022-12-30 12:05:46 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2023-01-09 15:03:01 +00:00
|
|
|
let cfg = config.features.cli.neofetch;
|
|
|
|
|
2022-12-30 12:05:46 +00:00
|
|
|
in {
|
|
|
|
|
2023-01-09 15:03:01 +00:00
|
|
|
options.features.cli.neofetch.enable = mkEnableOption "enable neofetch";
|
2022-12-30 12:05:46 +00:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.fish.interactiveShellInit = "neofetch --ascii-distro nixos";
|
|
|
|
home.packages = with pkgs; [ neofetch ];
|
|
|
|
};
|
|
|
|
}
|