firefox: simplify derivation declaration
This commit is contained in:
parent
37b8c5f680
commit
59d500f864
1 changed files with 7 additions and 16 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue