Files
Nomarchy/core/system/state.nix
Bernardo Magri 130ae80f3e
Some checks failed
Check / eval-and-lint (push) Has been cancelled
feat: migrate theme and font to declarative Nix options
2026-05-31 19:33:33 +01:00

18 lines
594 B
Nix

{ lib, ... }:
let
nomarchyLib = import ../../lib { inherit lib; };
# Same canonical schema as core/home/state.nix and the options.nix
# files — keeps every state default in one place.
schema = import ../../lib/state-schema.nix { inherit lib; };
systemState = nomarchyLib.readSystemState;
in
{
# Every assignment is lib.mkDefault so a downstream /etc/nixos/system.nix
# can still set e.g. `nomarchy.system.features.hybridGPU = true;`
# without colliding with the default values. The Nix options are now the
# declarative source of truth.
config.nomarchy.system = {
};
}