diff --git a/modules/launchd/launchd.nix b/modules/launchd/launchd.nix
index d8ae175..e903c99 100644
--- a/modules/launchd/launchd.nix
+++ b/modules/launchd/launchd.nix
@@ -722,7 +722,7 @@ with lib;
The parameters below are used as inputs to call getaddrinfo(3).
'';
- type = types.nullOr (types.loaOf (types.submodule {
+ type = types.nullOr (types.attrsOf (types.submodule {
options = {
SockType = mkOption {
type = types.nullOr (types.enum [ "stream" "dgram" "seqpacket" ]);
diff --git a/modules/programs/ssh/default.nix b/modules/programs/ssh/default.nix
index 2a15a8b..af2d76b 100644
--- a/modules/programs/ssh/default.nix
+++ b/modules/programs/ssh/default.nix
@@ -54,7 +54,7 @@ in
programs.ssh.knownHosts = mkOption {
default = {};
- type = types.loaOf (types.submodule host);
+ type = types.attrsOf (types.submodule host);
description = ''
The set of system-wide known SSH hosts.
'';
diff --git a/modules/system/etc.nix b/modules/system/etc.nix
index fc1ff06..527cda7 100644
--- a/modules/system/etc.nix
+++ b/modules/system/etc.nix
@@ -20,7 +20,7 @@ in
options = {
environment.etc = mkOption {
- type = types.loaOf (types.submodule text);
+ type = types.attrsOf (types.submodule text);
default = {};
description = ''
Set of files that have to be linked in /etc.
diff --git a/modules/system/launchd.nix b/modules/system/launchd.nix
index 3df6610..88ecb95 100644
--- a/modules/system/launchd.nix
+++ b/modules/system/launchd.nix
@@ -57,7 +57,7 @@ in
options = {
environment.launchAgents = mkOption {
- type = types.loaOf (types.submodule text);
+ type = types.attrsOf (types.submodule text);
default = {};
description = ''
Set of files that have to be linked in /Library/LaunchAgents.
@@ -65,7 +65,7 @@ in
};
environment.launchDaemons = mkOption {
- type = types.loaOf (types.submodule text);
+ type = types.attrsOf (types.submodule text);
default = {};
description = ''
Set of files that have to be linked in /Library/LaunchDaemons.
@@ -73,7 +73,7 @@ in
};
environment.userLaunchAgents = mkOption {
- type = types.loaOf (types.submodule text);
+ type = types.attrsOf (types.submodule text);
default = {};
description = ''
Set of files that have to be linked in ~/Library/LaunchAgents.
diff --git a/modules/users/default.nix b/modules/users/default.nix
index 6605a28..bb075ec 100644
--- a/modules/users/default.nix
+++ b/modules/users/default.nix
@@ -49,13 +49,13 @@ in
};
users.groups = mkOption {
- type = types.loaOf (types.submodule group);
+ type = types.attrsOf (types.submodule group);
default = {};
description = "Configuration for groups.";
};
users.users = mkOption {
- type = types.loaOf (types.submodule user);
+ type = types.attrsOf (types.submodule user);
default = {};
description = "Configuration for users.";
};