- All base/* modules now use (mkEnableOption "...") // { default = true; }
so they activate automatically when imported — no explicit .enable = true
required in host configs
- packages.nix: add comment documenting that lazylib does not exist in
nixpkgs; lazygit is the correct and intended package
- zellij-ps.nix: clarify that cli.zellij-ps namespace is intentional —
it is the home-manager module convention from m3ta-nixpkgs
- nix flake check passes (warnings are pre-existing)
18 lines
363 B
Nix
18 lines
363 B
Nix
# Nitch — minimal system information display tool.
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.base.cliTools.nitch;
|
|
in {
|
|
# Enabled by default — base modules are always-on.
|
|
options.base.cliTools.nitch.enable = (mkEnableOption "enable nitch") // {default = true;};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = [pkgs.nitch];
|
|
};
|
|
}
|