dotfiles/home/modules/firefox/default.nix

36 lines
827 B
Nix
Raw Normal View History

2024-10-06 15:25:05 -05:00
{
pkgs,
flake,
nur,
...
}: let
inherit (flake.config.people) user0;
in {
2024-12-06 21:48:52 -06:00
programs.firefox = let
configPath = ./config;
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
}
2024-11-09 18:18:43 -06:00
// (import (configPath + /bookmarks) {inherit flake;})
// (import (configPath + /extensions) {inherit nur;})
// (import (configPath + /search) {inherit flake;})
// (import (configPath + /settings))
// (import (configPath + /themes));
2024-12-06 21:48:52 -06:00
testing =
{
isDefault = false;
id = 1;
}
// (import (configPath + /bookmarks) {inherit flake;})
// (import (configPath + /search) {inherit flake;})
// (import (configPath + /themes));
2024-10-06 15:25:05 -05:00
};
};
}