firefox: simplify derivation and inherit declarations (#1545)
Link: https://github.com/nix-community/stylix/pull/1545 Reviewed-by: awwpotato <awwpotato@voidq.com>
This commit is contained in:
commit
87ec086490
1 changed files with 8 additions and 21 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue