mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Merge pull request #249 from Atry/patch-4
Set proper type for `flake.nixosModules`
This commit is contained in:
commit
dc3b467eac
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ in
|
|||
options = {
|
||||
flake = mkSubmoduleOptions {
|
||||
nixosModules = mkOption {
|
||||
type = types.lazyAttrsOf types.unspecified;
|
||||
type = types.lazyAttrsOf types.deferredModule;
|
||||
default = { };
|
||||
apply = mapAttrs (k: v: { _file = "${toString moduleLocation}#nixosModules.${k}"; imports = [ v ]; });
|
||||
description = ''
|
||||
|
|
Loading…
Reference in a new issue