41 lines
869 B
Nix
41 lines
869 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.firefox = {
|
|
enable =true;
|
|
|
|
profiles = {
|
|
|
|
# Default profile
|
|
default = {
|
|
id = 0;
|
|
name = "Default profile";
|
|
|
|
settings = {
|
|
"dom.security.https_only_mode" = false;
|
|
};
|
|
|
|
search.engines = {
|
|
"Nix packages" = {
|
|
urls = [{
|
|
template = "https://search.nixos.org/packages";
|
|
param = [
|
|
{ name = "type"; value = "packages"; }
|
|
{ name = "query"; value = "{serachTerms}"; }
|
|
];
|
|
}];
|
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
definedAliases = [ "@np" ];
|
|
};
|
|
};
|
|
search.force = true;
|
|
};
|
|
|
|
# Another profile
|
|
testing = {
|
|
id = 1;
|
|
name = "Test profile";
|
|
};
|
|
};
|
|
};
|
|
}
|