From 6b2c678669af771c0228c745244365de8aebbe1b Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Mon, 18 May 2026 17:01:29 +0100 Subject: [PATCH] chore: switch default theme from summer-night to nord Both the system option (`core/system/options.nix:theme`) and the home-side state evaluator (`core/home/state.nix`) defaulted to "summer-night". The installer-written state.json now seeds "nord" (see preceding installer commit), and `lib/state-schema.nix` already defaults to "nord". Align the hardcoded fallbacks here so a missing or blank state file lands on the same theme everywhere instead of a now-inconsistent split. Co-Authored-By: Claude Opus 4.7 --- core/home/state.nix | 6 +++--- core/system/options.nix | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/home/state.nix b/core/home/state.nix index 3c91ed2..ea01927 100644 --- a/core/home/state.nix +++ b/core/home/state.nix @@ -19,7 +19,7 @@ in skipVsCodeTheme = togglesState.skipVsCodeTheme or false; }; nightlightTemperature = togglesState.nightlightTemperature or 4000; - theme = togglesState.theme or "summer-night"; + theme = togglesState.theme or "nord"; wallpaper = togglesState.wallpaper or ""; panelPosition = togglesState.panelPosition or "top"; hyprland = { @@ -31,11 +31,11 @@ in # Derived properties from the theme directory isLightMode = nomarchyLib.isThemeLightMode { - themeName = togglesState.theme or "summer-night"; + themeName = togglesState.theme or "nord"; inherit assetsPath; }; iconsTheme = nomarchyLib.getIconsTheme { - themeName = togglesState.theme or "summer-night"; + themeName = togglesState.theme or "nord"; inherit assetsPath; }; }; diff --git a/core/system/options.nix b/core/system/options.nix index 1596b5d..97b0bd6 100644 --- a/core/system/options.nix +++ b/core/system/options.nix @@ -55,8 +55,8 @@ }; theme = lib.mkOption { type = lib.types.str; - default = "summer-night"; - description = "Selected system theme."; + default = "nord"; + description = "Selected system theme. Matches lib/state-schema.nix and the installer-written state.json so a missing/blank state file lands on the same theme everywhere."; }; # ----- Tier 1 system features (all opt-in, no behavioural change off) ---