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 <noreply@anthropic.com>
This commit is contained in:
Bernardo Magri
2026-05-18 17:01:29 +01:00
parent ac4d66e54d
commit 6b2c678669
2 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ in
skipVsCodeTheme = togglesState.skipVsCodeTheme or false; skipVsCodeTheme = togglesState.skipVsCodeTheme or false;
}; };
nightlightTemperature = togglesState.nightlightTemperature or 4000; nightlightTemperature = togglesState.nightlightTemperature or 4000;
theme = togglesState.theme or "summer-night"; theme = togglesState.theme or "nord";
wallpaper = togglesState.wallpaper or ""; wallpaper = togglesState.wallpaper or "";
panelPosition = togglesState.panelPosition or "top"; panelPosition = togglesState.panelPosition or "top";
hyprland = { hyprland = {
@@ -31,11 +31,11 @@ in
# Derived properties from the theme directory # Derived properties from the theme directory
isLightMode = nomarchyLib.isThemeLightMode { isLightMode = nomarchyLib.isThemeLightMode {
themeName = togglesState.theme or "summer-night"; themeName = togglesState.theme or "nord";
inherit assetsPath; inherit assetsPath;
}; };
iconsTheme = nomarchyLib.getIconsTheme { iconsTheme = nomarchyLib.getIconsTheme {
themeName = togglesState.theme or "summer-night"; themeName = togglesState.theme or "nord";
inherit assetsPath; inherit assetsPath;
}; };
}; };

View File

@@ -55,8 +55,8 @@
}; };
theme = lib.mkOption { theme = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "summer-night"; default = "nord";
description = "Selected system theme."; 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) --- # ----- Tier 1 system features (all opt-in, no behavioural change off) ---