Add placeholder publishing settings in printing module. Refactor Codex module to add nodejs to home packages and nest the program configuration under `config`. Simplify Opencode validation by removing the TUI validation flag, keeping only `config`.
21 lines
322 B
Nix
21 lines
322 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}: {
|
|
options.opencode.enable = lib.mkEnableOption "Opencode";
|
|
|
|
config.programs.opencode = lib.mkIf config.opencode.enable {
|
|
enable = true;
|
|
package = pkgs.opencode;
|
|
validateFiles.config = true;
|
|
};
|
|
|
|
imports = [
|
|
./settings
|
|
./skills
|
|
./extra-packages.nix
|
|
];
|
|
}
|