mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Set proper type for flake.nixosModules
This commit is contained in:
parent
567b938d64
commit
9c92fd1582
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