mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
An overhaul of the module system.
This commit is contained in:
parent
2bf9997813
commit
d2a823f5bc
11 changed files with 181 additions and 230 deletions
|
|
@ -1,9 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./imports.nix
|
||||
./deploy.nix
|
||||
./network.nix
|
||||
];
|
||||
}
|
||||
|
|
@ -59,8 +59,7 @@ with lib;
|
|||
nixos = {
|
||||
extraModules = [
|
||||
"${toString sources.home-manager}/nixos"
|
||||
../../modules/nixos
|
||||
];
|
||||
] ++ singleton meta.modules.nixos;
|
||||
specialArgs = {
|
||||
inherit (config.network) nodes;
|
||||
inherit sources meta;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue