1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-03-07 10:59:55 +01:00

new stuff

This commit is contained in:
TheGeneralist 2026-01-08 21:15:12 +01:00
parent 6014ad7d7a
commit 01c8bfce80
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
18 changed files with 721 additions and 285 deletions

View file

@ -1,6 +1,21 @@
inputs: self: super:
inputs:
let
system = import ./system.nix inputs self super;
option = import ./option.nix inputs self super;
inherit (inputs.nixpkgs.lib) makeExtensible;
in
system // option
makeExtensible (self:
let
callLib = file: import file inputs self;
optionUtils = callLib ./option.nix;
in
{
# Core system building functions
mkSystem = (callLib ./system.nix).mkSystem;
# Custom option utilities
mkConst = optionUtils.mkConst;
mkValue = optionUtils.mkValue;
# Host detection and configuration
mkHosts = callLib ./hosts.nix;
}
)