mirror of
https://github.com/thegeneralist01/config.git
synced 2026-03-07 10:59:55 +01:00
new stuff
This commit is contained in:
parent
6014ad7d7a
commit
01c8bfce80
18 changed files with 721 additions and 285 deletions
|
|
@ -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;
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue