nix-configurations/home/features/cli/neofetch.nix

16 lines
316 B
Nix
Raw Normal View History

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