summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-09-02 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2020-09-02 04:20:00 +0000
commita34dea283cba40cdc048eb0e33f893bdf7db5867 (patch)
tree7525f6901f4c228c381c0da309600e49c81ac3a7 /modules/system
parent943a6b25d7be58e45df9817139db2cb3808d3006 (diff)
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
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/etc.nix2
-rw-r--r--modules/system/launchd.nix6
2 files changed, 4 insertions, 4 deletions
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 <filename>/etc</filename>.
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 <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>.