summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2020-09-12 09:37:50 +0200
committerGitHub <noreply@github.com>2020-09-12 09:37:50 +0200
commitd888bdf3dd7eccec9fd72d27351325c9667ca851 (patch)
tree861ddcfa1112aa41fd7a90095857a66ea9159467 /modules/system
parent88faa8fbae8f1c28484a71cf25629526a5417ef6 (diff)
parenta34dea283cba40cdc048eb0e33f893bdf7db5867 (diff)
Merge pull request #224 from marsam/remove-types.loaOf
Remove deprecated types.loaOf
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>.