refactor: replace listToAttrs with mapAttrs' to get a cleaner definition

This commit is contained in:
Ryan Yin
2023-12-22 01:23:15 +08:00
parent 05aa451895
commit e4abf62ec3
2 changed files with 9 additions and 14 deletions

View File

@@ -14,5 +14,6 @@ in systemAttrs // {
userfullname = "Ryan Yin";
useremail = "xiaoyin_c@qq.com";
inherit systemAttrs;
allSystems = builtins.attrValues systemAttrs;
}