From 440870d39d7aba69c1a01b050973987c1236d935 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Sun, 24 Oct 2021 15:27:46 +0000 Subject: [PATCH] fix: missing pkgs arg --- --- a/modules/fleet/meta.nix +++ b/modules/fleet/meta.nix @@ -3,7 +3,12 @@ host = with types; { options = { modules = mkOption { - type = listOf anything; + type = listOf (mkOptionType { + name = "submodule"; + inherit (submodule { }) check; + merge = lib.options.mergeOneOption; + description = "Nixos modules"; + }); description = "List of nixos modules"; default = [ ]; }; @@ -26,7 +31,12 @@ description = "Configurations of individual hosts"; }; globalModules = mkOption { - type = listOf anything; + type = listOf (mkOptionType { + name = "submodule"; + inherit (submodule { }) check; + merge = lib.options.mergeOneOption; + description = "Nixos modules"; + }); description = "Modules, which should be added to every system"; default = [ ]; }; -- gitstuff