fix: allow linux and darwin machines to build

This commit is contained in:
Kat Inskip 2022-07-26 17:36:38 +00:00
parent d33717e3dc
commit 2f5a7dd068
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
3 changed files with 6 additions and 2 deletions

View file

@ -39,6 +39,10 @@ with lib;
default = toString (inputs.darwin + "/modules");
};
};
nodes.all = mkOption {
type = types.attrsOf types.unspecified;
default = config.network.nodes.nixos // config.network.nodes.darwin;
};
nodes.nixos =
let
nixosModule = { name, config, meta, modulesPath, lib, ... }: with lib; {