1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

Remove deprecated types.loaOf

types.loaOf has been deprecated for a long time and is now in the
process of removal. See: https://github.com/NixOS/nixpkgs/pull/96042
This commit is contained in:
Mario Rodas 2020-09-02 04:20:00 +00:00
parent 943a6b25d7
commit a34dea283c
5 changed files with 8 additions and 8 deletions

View file

@ -722,7 +722,7 @@ with lib;
The parameters below are used as inputs to call <literal>getaddrinfo(3)</literal>. The parameters below are used as inputs to call <literal>getaddrinfo(3)</literal>.
''; '';
type = types.nullOr (types.loaOf (types.submodule { type = types.nullOr (types.attrsOf (types.submodule {
options = { options = {
SockType = mkOption { SockType = mkOption {
type = types.nullOr (types.enum [ "stream" "dgram" "seqpacket" ]); type = types.nullOr (types.enum [ "stream" "dgram" "seqpacket" ]);

View file

@ -54,7 +54,7 @@ in
programs.ssh.knownHosts = mkOption { programs.ssh.knownHosts = mkOption {
default = {}; default = {};
type = types.loaOf (types.submodule host); type = types.attrsOf (types.submodule host);
description = '' description = ''
The set of system-wide known SSH hosts. The set of system-wide known SSH hosts.
''; '';

View file

@ -20,7 +20,7 @@ in
options = { options = {
environment.etc = mkOption { environment.etc = mkOption {
type = types.loaOf (types.submodule text); type = types.attrsOf (types.submodule text);
default = {}; default = {};
description = '' description = ''
Set of files that have to be linked in <filename>/etc</filename>. Set of files that have to be linked in <filename>/etc</filename>.

View file

@ -57,7 +57,7 @@ in
options = { options = {
environment.launchAgents = mkOption { environment.launchAgents = mkOption {
type = types.loaOf (types.submodule text); type = types.attrsOf (types.submodule text);
default = {}; default = {};
description = '' description = ''
Set of files that have to be linked in <filename>/Library/LaunchAgents</filename>. Set of files that have to be linked in <filename>/Library/LaunchAgents</filename>.
@ -65,7 +65,7 @@ in
}; };
environment.launchDaemons = mkOption { environment.launchDaemons = mkOption {
type = types.loaOf (types.submodule text); type = types.attrsOf (types.submodule text);
default = {}; default = {};
description = '' description = ''
Set of files that have to be linked in <filename>/Library/LaunchDaemons</filename>. Set of files that have to be linked in <filename>/Library/LaunchDaemons</filename>.
@ -73,7 +73,7 @@ in
}; };
environment.userLaunchAgents = mkOption { environment.userLaunchAgents = mkOption {
type = types.loaOf (types.submodule text); type = types.attrsOf (types.submodule text);
default = {}; default = {};
description = '' description = ''
Set of files that have to be linked in <filename>~/Library/LaunchAgents</filename>. Set of files that have to be linked in <filename>~/Library/LaunchAgents</filename>.

View file

@ -49,13 +49,13 @@ in
}; };
users.groups = mkOption { users.groups = mkOption {
type = types.loaOf (types.submodule group); type = types.attrsOf (types.submodule group);
default = {}; default = {};
description = "Configuration for groups."; description = "Configuration for groups.";
}; };
users.users = mkOption { users.users = mkOption {
type = types.loaOf (types.submodule user); type = types.attrsOf (types.submodule user);
default = {}; default = {};
description = "Configuration for users."; description = "Configuration for users.";
}; };