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