dotfiles/home/modules/firefox/default.nix

55 lines
977 B
Nix
Raw Normal View History

2024-10-06 15:25:05 -05:00
{
pkgs,
flake,
...
}: let
2025-01-08 19:06:14 -06:00
inherit
(flake.config.people)
user0
;
2024-10-06 15:25:05 -05:00
in {
2024-12-06 21:48:52 -06:00
programs.firefox = let
configPath = ./config;
2025-01-08 19:06:14 -06:00
bookmarksPath = import (configPath + /bookmarks) {
inherit
flake
;
};
extensionsPath = import (configPath + /extensions) {
inherit
pkgs
;
};
searchPath = import (configPath + /search) {
inherit
flake
;
};
2025-01-08 01:05:45 -06:00
settingsPath = import (configPath + /settings);
themesPath = import (configPath + /themes);
2024-12-06 21:48:52 -06:00
in {
2024-10-06 15:25:05 -05:00
enable = true;
package = pkgs.firefox;
profiles = {
2024-12-06 21:48:52 -06:00
${user0} =
2024-11-09 16:44:23 -06:00
{
isDefault = true;
2024-12-06 21:48:52 -06:00
id = 0;
2024-11-09 16:44:23 -06:00
}
2025-01-08 01:05:45 -06:00
// bookmarksPath
// extensionsPath
// searchPath
// settingsPath
// themesPath;
2024-12-06 21:48:52 -06:00
testing =
{
isDefault = false;
id = 1;
}
2025-01-08 01:05:45 -06:00
// bookmarksPath
// searchPath
// themesPath;
2024-10-06 15:25:05 -05:00
};
};
}