Made firefox the default browser
This commit is contained in:
parent
26ec076727
commit
9b6cc13430
2 changed files with 17 additions and 4 deletions
|
@ -12,5 +12,16 @@ in {
|
|||
enable = mkEnableOption "firefox";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {environment.systemPackages = with pkgs; [firefox];};
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [firefox];
|
||||
aa.home.extraOptions = {
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/html" = "firefox.desktop";
|
||||
"x-scheme-handler/http" = "firefox.desktop";
|
||||
"x-scheme-handler/https" = "firefox.desktop";
|
||||
"x-scheme-handler/about" = "firefox.desktop";
|
||||
"x-scheme-handler/unknown" = "firefox.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue