Compare commits
2 commits
ab0d3a9974
...
be802492e9
Author | SHA1 | Date | |
---|---|---|---|
be802492e9 | |||
4f834dd822 |
2 changed files with 10 additions and 7 deletions
|
@ -6,6 +6,8 @@
|
|||
}:
|
||||
let
|
||||
inherit (pkgs.stdenv) isLinux;
|
||||
|
||||
defaultBrowser = "firefox.desktop";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf config.isGraphical {
|
||||
|
@ -156,12 +158,12 @@ in
|
|||
|
||||
home.packages = lib.mkIf isLinux [ pkgs.mullvad-browser ];
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/html" = "chromium.desktop";
|
||||
"x-scheme-handler/http" = "chromium.desktop";
|
||||
"x-scheme-handler/https" = "chromium.desktop";
|
||||
"x-scheme-handler/about" = "chromium.desktop";
|
||||
"x-scheme-handler/unknown" = "chromium.desktop";
|
||||
};
|
||||
xdg.mimeApps.defaultApplications = lib.genAttrs [
|
||||
"text/html"
|
||||
"x-scheme-handler/http"
|
||||
"x-scheme-handler/https"
|
||||
"x-scheme-handler/about"
|
||||
"x-scheme-handler/unknown"
|
||||
] (_: defaultBrowser);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -90,6 +90,7 @@ in
|
|||
'';
|
||||
extraEnv = # nu
|
||||
''
|
||||
$env.MANPAGER = "bat -l man -p"
|
||||
$env.ENV_CONVERSIONS = {
|
||||
"PATH": {
|
||||
from_string: { |s| $s | split row (char esep) | path expand --no-symlink }
|
||||
|
|
Loading…
Reference in a new issue