From a34dea283cba40cdc048eb0e33f893bdf7db5867 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 2 Sep 2020 04:20:00 +0000 Subject: 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 --- modules/system/etc.nix | 2 +- modules/system/launchd.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/system') 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. -- cgit v1.2.3