refactor 'nixosConfigurations'

This commit is contained in:
2025-11-23 23:16:37 +01:00
parent 6d5e6add02
commit f93eecfcb1
2 changed files with 16 additions and 13 deletions

7
utils/default.nix Normal file
View File

@@ -0,0 +1,7 @@
{ lib }:
{
dirNames =
path:
builtins.attrNames (lib.filterAttrs (name: type: type == "directory") (builtins.readDir path));
}