mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-16 04:35:07 +01:00
make firefox the default browser
This commit is contained in:
parent
f673bf7df1
commit
25eedb7f9d
2 changed files with 10 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
profiles = {
|
profiles = {
|
||||||
nils = {
|
nils = {
|
||||||
id = 0;
|
id = 0;
|
||||||
name = "nils";
|
name = "nora";
|
||||||
|
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
ublock-origin
|
ublock-origin
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,7 @@ in
|
||||||
# scrollButton = 2;
|
# scrollButton = 2;
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
# https://github.com/NixOS/nixpkgs/issues/299944#issuecomment-2027246826
|
# https://github.com/NixOS/nixpkgs/issues/299944#issuecomment-2027246826
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
|
|
@ -220,6 +221,14 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.mime.defaultApplications = {
|
||||||
|
"text/html" = "firefox.desktop";
|
||||||
|
"x-scheme-handler/http" = "firefox.desktop";
|
||||||
|
"x-scheme-handler/https" = "firefox.desktop";
|
||||||
|
};
|
||||||
|
# This is apparently used by Electron? Maybe not anymore.
|
||||||
|
environment.sessionVariables.DEFAULT_BROWSER = lib.getExe pkgs.firefox;
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostKeys = [
|
hostKeys = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue