initial commit
This commit is contained in:
commit
2597fc7fb8
27 changed files with 1051 additions and 0 deletions
13
modules/software/browser/firefox.nix
Normal file
13
modules/software/browser/firefox.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
# The logical browser of choice
|
||||
programs.firefox.enable = true;
|
||||
|
||||
xdg.mime.defaultApplications = let
|
||||
browser_desktop_file = "firefox.desktop";
|
||||
in {
|
||||
"text/html" = browser_desktop_file;
|
||||
"x-scheme-handler/http" = browser_desktop_file;
|
||||
"x-scheme-handler/https" = browser_desktop_file;
|
||||
};
|
||||
environment.sessionVariables.DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue