Switch to Brave from librewolf
This commit is contained in:
parent
3b1e5a9be2
commit
d6388d8ffe
4 changed files with 9 additions and 88 deletions
7
home-manager/roles/desktop/common/apps/brave.nix
Normal file
7
home-manager/roles/desktop/common/apps/brave.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.brave = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
./librewolf.nix
|
./brave.nix
|
||||||
./vesktop.nix
|
./vesktop.nix
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
./lutris.nix
|
./lutris.nix
|
||||||
|
|
|
||||||
|
|
@ -1,86 +0,0 @@
|
||||||
{ pkgs, vars, ... }:
|
|
||||||
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.librewolf = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
"webgl.disable" = false;
|
|
||||||
"identity.fxaccounts.enabled" = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
policies = {
|
|
||||||
OfferToSaveLogins = false;
|
|
||||||
PasswordManagerEnabled = false;
|
|
||||||
DisplayBookmarksToolbar = true;
|
|
||||||
NoDefaultBookmarks = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
profiles."${vars.user}" = {
|
|
||||||
search = {
|
|
||||||
force = true;
|
|
||||||
engines = {
|
|
||||||
"Nix Packages" = {
|
|
||||||
urls = [
|
|
||||||
{
|
|
||||||
template = "https://search.nixos.org/packages?channel=unstable";
|
|
||||||
params = [
|
|
||||||
{
|
|
||||||
name = "type";
|
|
||||||
value = "packages";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "query";
|
|
||||||
value = "{searchTerms}";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = ["@np"];
|
|
||||||
};
|
|
||||||
"Nix Options" = {
|
|
||||||
urls = [
|
|
||||||
{
|
|
||||||
template = "https://search.nixos.org/options?channel=unstable";
|
|
||||||
params = [
|
|
||||||
{
|
|
||||||
name = "sort";
|
|
||||||
value = "alpha_asc";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "query";
|
|
||||||
value = "{searchTerms}";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = ["@no"];
|
|
||||||
};
|
|
||||||
"NixOS Wiki" = {
|
|
||||||
urls = [
|
|
||||||
{
|
|
||||||
template = "https://wiki.nixos.org/w/index.php?search={searchTerms}";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
icon = "https://nixos.wiki/favicon.png";
|
|
||||||
updateInterval = 24 * 60 * 60 * 1000;
|
|
||||||
definedAliases = ["@nw"];
|
|
||||||
};
|
|
||||||
"Home Manager Options" = {
|
|
||||||
urls = [{template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=master";}];
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = ["@hm"];
|
|
||||||
};
|
|
||||||
"wikipedia".metaData.alias = "@wiki";
|
|
||||||
"google".metaData.hidden = true;
|
|
||||||
"amazondotcom-us".metaData.hidden = true;
|
|
||||||
"bing".metaData.hidden = true;
|
|
||||||
"ebay".metaData.hidden = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -11,7 +11,7 @@ input {
|
||||||
numlock
|
numlock
|
||||||
|
|
||||||
repeat-rate 35
|
repeat-rate 35
|
||||||
repeat-delay 200
|
repeat-delay 500
|
||||||
}
|
}
|
||||||
touchpad {
|
touchpad {
|
||||||
// off
|
// off
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue