buildClan: also import clanCore module

This commit is contained in:
Jörg Thalheim
2023-08-30 16:41:10 +02:00
parent 10e4db7c19
commit 1d496c6363
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{ nixpkgs, lib }:
{ nixpkgs, clan, lib }:
{ directory # The directory containing the machines subdirectory
, specialArgs ? { } # Extra arguments to pass to nixosSystem i.e. useful to make self available
, machines ? { } # allows to include machine-specific modules i.e. machines.${name} = { ... }
@@ -18,6 +18,7 @@ let
(name: _:
nixpkgs.lib.nixosSystem {
modules = [
clan.nixosModules.clanCore
(machineSettings name)
(machines.${name} or { })
];