An overhaul of the module system.

This commit is contained in:
kat witch 2021-09-02 03:12:04 +01:00
parent 2bf9997813
commit d2a823f5bc
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
11 changed files with 181 additions and 230 deletions

View file

@ -1,9 +0,0 @@
{ ... }:
{
imports = [
./imports.nix
./deploy.nix
./network.nix
];
}

View file

@ -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;