mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
flake-module: use raw for homeConfgurations and deferredModule for modules (#6504)
This commit is contained in:
@@ -4,7 +4,7 @@ in {
|
|||||||
options = {
|
options = {
|
||||||
flake = flake-parts-lib.mkSubmoduleOptions {
|
flake = flake-parts-lib.mkSubmoduleOptions {
|
||||||
homeConfigurations = mkOption {
|
homeConfigurations = mkOption {
|
||||||
type = types.lazyAttrsOf types.deferredModule;
|
type = types.lazyAttrsOf types.raw;
|
||||||
default = { };
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Instantiated Home Manager configurations.
|
Instantiated Home Manager configurations.
|
||||||
@@ -15,7 +15,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
homeManagerModules = mkOption {
|
homeManagerModules = mkOption {
|
||||||
type = types.lazyAttrsOf types.unspecified;
|
type = types.lazyAttrsOf types.deferredModule;
|
||||||
default = { };
|
default = { };
|
||||||
apply = mapAttrs (k: v: {
|
apply = mapAttrs (k: v: {
|
||||||
_class = "homeManager";
|
_class = "homeManager";
|
||||||
|
|||||||
Reference in New Issue
Block a user