18 lines
594 B
Nix
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 = {
|
|
};
|
|
}
|