save some chars in common

This commit is contained in:
Chris Dombroski 2024-09-06 22:01:05 -04:00
parent a76d7061b7
commit 0bdec9e041

View file

@ -1,6 +1,6 @@
{ lib, ... }: { lib, ... }:
{ {
imports = builtins.map (n: ./common + "/${n}") ( imports = builtins.map (n: ./common/${n}) (
builtins.attrNames ( builtins.attrNames (
lib.filterAttrs (k: v: v == "regular" && lib.hasSuffix ".nix" k) (builtins.readDir ./common) lib.filterAttrs (k: v: v == "regular" && lib.hasSuffix ".nix" k) (builtins.readDir ./common)
) )