treewide: drop redundant parentheses and eta-expand

This commit is contained in:
2026-07-24 15:28:35 +08:00
parent 9a493b48b9
commit fdabea8247
3 changed files with 11 additions and 14 deletions
+6 -8
View File
@@ -13,7 +13,7 @@ let
nixpkgs = lib.mkMerge [
pkgsParams
{
overlays = (import ./overlays args);
overlays = import ./overlays args;
}
];
};
@@ -57,13 +57,11 @@ in
modules = lib.mkOption {
type = lib.types.listOf lib.types.deferredModule;
default = (
lib.umport {
paths = [ ../hosts/${name} ];
extraExcludePredicate = path: lib.hasInfix "/_" (toString path);
recursive = true;
}
);
default = lib.umport {
paths = [ ../hosts/${name} ];
extraExcludePredicate = path: lib.hasInfix "/_" (toString path);
recursive = true;
};
description = "Additional NixOS modules specific to this host";
};