mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:58:30 +02:00
fix: try to make firefox the default browser
This commit is contained in:
@@ -20,6 +20,7 @@ in rec {
|
||||
# set default applications
|
||||
BROWSER = "firefox";
|
||||
TERMINAL = "alacritty";
|
||||
TERM = "xterm-256color";
|
||||
|
||||
# enable scrolling in git diff
|
||||
DELTA_PAGER = "less -R";
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
{config, pkgs, ...}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
xdg-utils # provides cli tools such as `xdg-mime` `xdg-open`
|
||||
xdg-user-dirs
|
||||
];
|
||||
|
||||
@@ -21,7 +22,7 @@
|
||||
# ls /etc/profiles/per-user/ryan/share/applications/
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
associations.added =
|
||||
defaultApplications =
|
||||
let
|
||||
browser = ["firefox.desktop"];
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user