mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-14 11:45:06 +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 = {
|
||||
nils = {
|
||||
id = 0;
|
||||
name = "nils";
|
||||
name = "nora";
|
||||
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
|
|
|
|||
|
|
@ -138,6 +138,7 @@ in
|
|||
# scrollButton = 2;
|
||||
#};
|
||||
};
|
||||
|
||||
hardware.nvidia = {
|
||||
# https://github.com/NixOS/nixpkgs/issues/299944#issuecomment-2027246826
|
||||
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 = {
|
||||
enable = true;
|
||||
hostKeys = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue