organise all options into modules

This commit is contained in:
atagen 2024-05-08 15:05:43 +10:00
parent c7c6606d14
commit 3192b6ca09
43 changed files with 518 additions and 423 deletions

View file

@ -4,7 +4,7 @@
...
}: let
inherit (builtins) getAttr stringLength substring;
inherit (lib) mkOption;
inherit (lib) mkOption getExe;
inherit (lib.attrsets) filterAttrs mapAttrs mapAttrs' nameValuePair;
inherit (lib.strings) concatStringsSep toUpper;
@ -190,7 +190,7 @@ in {
type = "Application";
exec = concatStringsSep " " ([
"${lib.getExe config.programs.firefox.package}"
"${getExe config.programs.firefox.package}"
"--name"
"${name}"
"--app-id"