{ config, pkgs, lib, ... }: { # Opt-in: the user explicitly wants opencode wiring (config file at # ~/.config/opencode/opencode.json). Set # `nomarchy.apps.opencode.enable = true` in your home.nix. xdg.configFile."opencode/opencode.json" = lib.mkIf config.nomarchy.apps.opencode.enable { source = ./config/opencode.json; }; }