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

@ -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>.

View file

@ -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>.