mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 02:37:09 +00:00
Merge pull request #224 from marsam/remove-types.loaOf
Remove deprecated types.loaOf
This commit is contained in:
commit
d888bdf3dd
5 changed files with 8 additions and 8 deletions
|
@ -722,7 +722,7 @@ with lib;
|
|||
|
||||
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 = {
|
||||
SockType = mkOption {
|
||||
type = types.nullOr (types.enum [ "stream" "dgram" "seqpacket" ]);
|
||||
|
|
|
@ -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.
|
||||
'';
|
||||
|
|
|
@ -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 <filename>/etc</filename>.
|
||||
|
|
|
@ -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 <filename>/Library/LaunchAgents</filename>.
|
||||
|
@ -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 <filename>/Library/LaunchDaemons</filename>.
|
||||
|
@ -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 <filename>~/Library/LaunchAgents</filename>.
|
||||
|
|
|
@ -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.";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue