mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
project-wide: Refactored profile system
This commit is contained in:
parent
dac56f7394
commit
219efa52ba
46 changed files with 52 additions and 107 deletions
|
|
@ -2,8 +2,9 @@ rec {
|
|||
sources = import ./nix/sources.nix;
|
||||
pkgs = import ./pkgs { inherit sources; };
|
||||
witch = import ./lib/witch.nix { lib = pkgs.lib; };
|
||||
profiles = witch.modList { modulesDir = ./profiles; defaultFile = "nixos.nix"; };
|
||||
|
||||
hosts = import ./lib/hosts.nix { inherit pkgs sources witch; };
|
||||
hosts = import ./lib/hosts.nix { inherit pkgs sources witch profiles; };
|
||||
|
||||
inherit (pkgs) lib;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue