1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-01 06:31:04 +01:00
home-manager/tests/modules/programs/firefox/profiles/shared-path.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

64 lines
1.4 KiB
Nix

modulePath:
{ config, lib, ... }:
let
firefoxMockOverlay = import ../setup-firefox-mock-overlay.nix modulePath;
in
{
imports = [ firefoxMockOverlay ];
config = lib.mkIf config.test.enableBig (
lib.setAttrByPath modulePath {
enable = true;
profiles = {
main = {
isDefault = true;
id = 1;
bookmarks = {
force = true;
settings = [
{
toolbar = true;
bookmarks = [
{
name = "Home Manager";
url = "https://wiki.nixos.org/wiki/Home_Manager";
}
];
}
];
};
containers = {
"shopping" = {
icon = "circle";
color = "yellow";
};
};
search = {
force = true;
default = "google";
privateDefault = "ddg";
engines = {
bing.metaData.hidden = true;
google.metaData.alias = "@g";
};
};
settings = {
"general.smoothScroll" = false;
"browser.newtabpage.pinned" = [
{
title = "NixOS";
url = "https://nixos.org";
}
];
};
};
"dev-edition-default" = {
id = 2;
path = "main";
};
};
}
);
}