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