12 lines
431 B
Nix
12 lines
431 B
Nix
{ inputs, self, ... }: {
|
|
flake.nixosModules.global = { lib, config, ... }: {
|
|
options.features.applications.cli.fastfetch.enable = lib.mkEnableOption "fastfetch";
|
|
};
|
|
|
|
flake.homeModules.global = { pkgs, lib, osConfig, ... }: {
|
|
config = lib.mkIf (osConfig.features.applications.cli.fastfetch.enable) ({
|
|
programs.zsh.initContent = lib.mkOrder 1500 "fastfetch";
|
|
programs.fastfetch.enable = true;
|
|
});
|
|
};
|
|
} |