2025-01-19 23:40:54 -06:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
flake,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
inherit (flake.config.people)
|
|
|
|
user0
|
|
|
|
;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.firefox =
|
|
|
|
let
|
|
|
|
configPath = ./config;
|
2025-01-28 20:45:11 -06:00
|
|
|
bookmarksPath = import (configPath + /bookmarks) { inherit flake; };
|
|
|
|
extensionsPath = import (configPath + /extensions) { inherit pkgs; };
|
|
|
|
searchPath = import (configPath + /search) { inherit flake; };
|
2025-01-19 23:40:54 -06:00
|
|
|
settingsPath = import (configPath + /settings);
|
|
|
|
themesPath = import (configPath + /themes);
|
|
|
|
in
|
|
|
|
{
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.firefox;
|
|
|
|
profiles = {
|
|
|
|
${user0} =
|
|
|
|
{
|
|
|
|
isDefault = true;
|
|
|
|
id = 0;
|
|
|
|
}
|
|
|
|
// bookmarksPath
|
|
|
|
// extensionsPath
|
|
|
|
// searchPath
|
|
|
|
// settingsPath
|
|
|
|
// themesPath;
|
|
|
|
testing =
|
|
|
|
{
|
|
|
|
isDefault = false;
|
|
|
|
id = 1;
|
|
|
|
}
|
|
|
|
// bookmarksPath
|
|
|
|
// searchPath
|
|
|
|
// themesPath;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|