treewide: remove redundant parenthesis in nix code

This commit is contained in:
Martin Weinelt 2025-06-15 03:28:48 +02:00
parent 5f592b5960
commit c7497cd5f6
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
5 changed files with 20 additions and 20 deletions

View file

@ -517,7 +517,7 @@ in
type = let
loginAccount = mkOptionType {
name = "Login Account";
check = (account: builtins.elem account (builtins.attrNames cfg.loginAccounts));
check = account: builtins.elem account (builtins.attrNames cfg.loginAccounts);
};
in with types; attrsOf (either loginAccount (nonEmptyListOf loginAccount));
example = {
@ -901,7 +901,7 @@ in
};
domain = mkOption {
type = types.enum (cfg.domains);
type = types.enum cfg.domains;
example = "example.com";
description = ''
The domain from which outgoing DMARC reports are served.