Two clusters of documented-but-non-functional options surfaced during
the Pillar 8 audit, both setting toggles that have zero runtime effect.
1. `nomarchy.toggles.skipVsCodeTheme` was declared in
core/home/options.nix, defaulted from lib/state-schema.nix, and
surfaced as `NOMARCHY_TOGGLE_SKIP_VSCODE_THEME` env var in
features/scripts/default.nix — but `features/apps/vscode.nix` always
sets `workbench.colorTheme` unconditionally, and no script reads the
env var. Setting the toggle to true did nothing. Removed from
options, schema, state, env-var export, and OPTIONS.md.
2. `nomarchy.themeLoader.apps.{waybar,mako,kitty,alacritty}` were
declared in themes/engine/loader.nix but only `btop` is actually
wired (line 87 gates the per-theme btop.theme deploy). The other
four had no consumer. The actual theming pipeline for those apps is
elsewhere: waybar themes inline from `colorScheme` in waybar.nix;
kitty and alacritty are themed by stylix targets in
themes/engine/stylix.nix; mako has no theme integration at all.
Removed the four dead options + updated OPTIONS.md to list only
btop with a note about where the other apps' theming lives.
65 lines
1.5 KiB
Nix
65 lines
1.5 KiB
Nix
# Nomarchy State Schema
|
|
#
|
|
# Defines the default values for every state.json field that's consumed by a
|
|
# Nix option. Read by core/{system,home}/options.nix (for `default = …`) and
|
|
# by core/{system,home}/state.nix (for `or` fallbacks).
|
|
#
|
|
# state.json may also hold runtime-only fields that aren't declared here —
|
|
# notably `welcome_done`, managed by `nomarchy-welcome`. Those are intentionally
|
|
# off-schema because no Nix option reads them; the schema is the "consumed by
|
|
# Nix" surface, not the full state.json shape.
|
|
{ lib }:
|
|
|
|
{
|
|
# Home state defaults (user preferences)
|
|
home = {
|
|
# Theme and appearance
|
|
theme = "summer-night";
|
|
wallpaper = "";
|
|
font = "JetBrainsMono Nerd Font";
|
|
panelPosition = "top";
|
|
nightlightTemperature = 4000;
|
|
|
|
# Feature toggles
|
|
suspend = true;
|
|
screensaver = true;
|
|
idle = true;
|
|
nightlight = false;
|
|
waybar = true;
|
|
|
|
# Hyprland window manager settings
|
|
hyprland = {
|
|
gaps_in = 5;
|
|
gaps_out = 10;
|
|
border_size = 2;
|
|
};
|
|
};
|
|
|
|
# System state defaults (system-level configuration)
|
|
system = {
|
|
# Theme (can differ from home for system-level theming)
|
|
theme = "summer-night";
|
|
|
|
# Timezone
|
|
timezone = "UTC";
|
|
|
|
# DNS configuration
|
|
dns = "DHCP"; # Options: "DHCP", "Cloudflare", "Google", "Custom"
|
|
customDns = [];
|
|
|
|
# Wi-Fi settings
|
|
wifi = {
|
|
powersave = true;
|
|
};
|
|
|
|
# Optional features
|
|
features = {
|
|
fingerprint = false;
|
|
fido2 = false;
|
|
hybridGPU = false;
|
|
makima = false;
|
|
};
|
|
};
|
|
|
|
}
|