diff --git a/modules/firefox/hm.nix b/modules/firefox/hm.nix index 68f679f5..74faf8ec 100644 --- a/modules/firefox/hm.nix +++ b/modules/firefox/hm.nix @@ -5,29 +5,16 @@ }: { imports = - map + lib.mapAttrsToList ( - { name, humanName }: + name: humanName: lib.modules.importApply ./each-config.nix { - inherit - mkTarget - name - humanName - ; + inherit mkTarget name humanName; } ) - [ - { - name = "firefox"; - humanName = "Firefox"; - } - { - name = "librewolf"; - humanName = "LibreWolf"; - } - { - name = "floorp"; - humanName = "Floorp"; - } - ]; + { + "firefox" = "Firefox"; + "librewolf" = "LibreWolf"; + "floorp" = "Floorp"; + }; }