The new profile-based structure (home/base, home/desktop, home/server, home/profiles/, home/coding) is fully operational and imported via home/lib/mkHomeConfig. The legacy home/features directory is no longer referenced anywhere in the configuration. Archived rather than deleted to preserve history for reference.
16 lines
236 B
Nix
16 lines
236 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.features.cli.nitch;
|
|
in {
|
|
options.features.cli.nitch.enable = mkEnableOption "enable nitch";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [nitch];
|
|
};
|
|
}
|