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

16 lines
319 B
Nix
Raw Permalink Normal View History

2022-12-30 12:05:46 +00:00
{ config, lib, pkgs, ... }:
with lib;
let cfg = config.features.cli.neofetch;
2022-12-30 12:05:46 +00:00
in {
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 ];
};
}