feat: rework to modular

This commit is contained in:
eric
2026-04-10 17:25:08 +02:00
parent 28dad81816
commit 99658b27dc
39 changed files with 738 additions and 211 deletions

20
lib/defaults.nix Normal file
View File

@@ -0,0 +1,20 @@
{ lib }:
let
supportedSystems = [
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux"
];
in
{
inherit supportedSystems;
forAllSystems = f: lib.genAttrs supportedSystems f;
companySessionVariables = {
BAO_ADDR = "https://secrets.api.nodeiwest.se";
SOME_REGISTRY = "git.dgren.dev";
};
stateVersion = "24.11";
}