dotfiles/home/modules/firefox/default.nix
2024-12-06 21:48:52 -06:00

35 lines
827 B
Nix
Executable file

{
pkgs,
flake,
nur,
...
}: let
inherit (flake.config.people) user0;
in {
programs.firefox = let
configPath = ./config;
in {
enable = true;
package = pkgs.firefox;
profiles = {
${user0} =
{
isDefault = true;
id = 0;
}
// (import (configPath + /bookmarks) {inherit flake;})
// (import (configPath + /extensions) {inherit nur;})
// (import (configPath + /search) {inherit flake;})
// (import (configPath + /settings))
// (import (configPath + /themes));
testing =
{
isDefault = false;
id = 1;
}
// (import (configPath + /bookmarks) {inherit flake;})
// (import (configPath + /search) {inherit flake;})
// (import (configPath + /themes));
};
};
}