mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 15:30:33 +01:00
Fixed firefox home-manager module
This commit is contained in:
parent
eda95098d4
commit
69b35fe1e2
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./modules/nixvim.nix
|
./modules/nixvim.nix
|
||||||
|
./modules/firefox.nix
|
||||||
];
|
];
|
||||||
home.username = "xqtc";
|
home.username = "xqtc";
|
||||||
home.homeDirectory = "/home/xqtc";
|
home.homeDirectory = "/home/xqtc";
|
||||||
|
@ -103,14 +104,14 @@ $character'';
|
||||||
|
|
||||||
home.file."~/.local/share/fonts/AppleColorEmoji.ttf".source = ./config-files/AppleColorEmoji.ttf;
|
home.file."~/.local/share/fonts/AppleColorEmoji.ttf".source = ./config-files/AppleColorEmoji.ttf;
|
||||||
|
|
||||||
programs.firefox = {
|
#programs.firefox = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
package = pkgs.firefox.override {
|
# package = pkgs.firefox.override {
|
||||||
cfg = {
|
# cfg = {
|
||||||
enableGnomeExtensions = true;
|
# enableGnomeExtensions = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
#};
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.hyprland;
|
package = pkgs.hyprland;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{ inputs, outputs, config, pkgs, ... }: {
|
{ inputs, outputs, config, pkgs, ... }:
|
||||||
|
with inputs;
|
||||||
|
{
|
||||||
|
|
||||||
home.sessionVariables.DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
|
home.sessionVariables.DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
|
||||||
|
|
||||||
|
@ -19,9 +21,17 @@
|
||||||
noscript
|
noscript
|
||||||
];
|
];
|
||||||
search = {
|
search = {
|
||||||
default = "DuckDuckGo";
|
default = "SearX";
|
||||||
force = true;
|
force = true;
|
||||||
engines = {
|
engines = {
|
||||||
|
"SearX" = {
|
||||||
|
urls = [{
|
||||||
|
template = "https://searx.org/search";
|
||||||
|
params = [
|
||||||
|
{ name = "q"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
};
|
||||||
"Nix Packages" = {
|
"Nix Packages" = {
|
||||||
urls = [{
|
urls = [{
|
||||||
template = "https://search.nixos.org/packages";
|
template = "https://search.nixos.org/packages";
|
||||||
|
@ -34,6 +44,18 @@
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
definedAliases = [ "@np" ];
|
definedAliases = [ "@np" ];
|
||||||
};
|
};
|
||||||
|
"Nix Options" = {
|
||||||
|
urls = [{
|
||||||
|
template = "https://search.nixos.org/options";
|
||||||
|
params = [
|
||||||
|
{ name = "type"; value = "options"; }
|
||||||
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
|
||||||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
definedAliases = [ "@no" ];
|
||||||
|
};
|
||||||
|
|
||||||
"NixOS Wiki" = {
|
"NixOS Wiki" = {
|
||||||
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
|
||||||
|
@ -51,7 +73,7 @@
|
||||||
"app.normandy.first_run" = false;
|
"app.normandy.first_run" = false;
|
||||||
"app.shield.optoutstudies.enabled" = false;
|
"app.shield.optoutstudies.enabled" = false;
|
||||||
"privacy.donotttrackheader.enabled" = true;
|
"privacy.donotttrackheader.enabled" = true;
|
||||||
"browser.startup.homepage" = "https://start.duckduckgo.com";
|
"browser.startup.homepage" = "https://xqtc161.github.io";
|
||||||
"browser.search.region" = "DE";
|
"browser.search.region" = "DE";
|
||||||
"browser.search.isUS" = false;
|
"browser.search.isUS" = false;
|
||||||
"browser.theme.content-theme" = "0";
|
"browser.theme.content-theme" = "0";
|
||||||
|
@ -67,9 +89,6 @@
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # Needed to allow userChrome.css
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # Needed to allow userChrome.css
|
||||||
};
|
};
|
||||||
userChrome = ''
|
userChrome = ''
|
||||||
#TabsToolbar {
|
|
||||||
display: none; !important
|
|
||||||
}
|
|
||||||
#sidebar-header {
|
#sidebar-header {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
|
|
||||||
home-manager.extraSpecialArgs = inputs;
|
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||||
home-manager.users.xqtc = {...}: {imports = [ ../home inputs.nixvim.homeManagerModules.nixvim ]; };
|
home-manager.users.xqtc = {...}: {imports = [ ../home inputs.nixvim.homeManagerModules.nixvim ]; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue