2024-08-26 17:54:50 -07:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: let
|
2024-08-16 06:42:35 -07:00
|
|
|
createCommon = import ../common-packages.nix;
|
2024-08-26 20:52:30 -07:00
|
|
|
zen-browser = inputs.zen-browser.packages.${pkgs.system}.specific;
|
2024-08-07 07:58:36 -07:00
|
|
|
in {
|
2024-08-16 06:42:35 -07:00
|
|
|
home.packages =
|
|
|
|
(createCommon pkgs)
|
2024-08-26 20:52:30 -07:00
|
|
|
++ (with pkgs;
|
|
|
|
[
|
|
|
|
bitwarden-desktop
|
|
|
|
modrinth-app
|
|
|
|
lutris
|
|
|
|
wine
|
|
|
|
sbctl
|
|
|
|
r2modman
|
|
|
|
]
|
|
|
|
++ [zen-browser]);
|
|
|
|
|
|
|
|
xdg.mimeApps = {
|
|
|
|
enable = true;
|
|
|
|
defaultApplications = {
|
|
|
|
"text/html" = ["zen.desktop"];
|
|
|
|
"x-scheme-handler/http" = ["dev.zen.Zen.desktop"];
|
|
|
|
"x-scheme-handler/https" = ["dev.zen.Zen.desktop"];
|
|
|
|
"x-scheme-handler/about" = ["dev.zen.Zen.desktop"];
|
|
|
|
"x-scheme-handler/unknown" = ["dev.zen.Zen.desktop"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
DEFAULT_BROWSER = "${zen-browser}/bin/zen-bin";
|
|
|
|
};
|
2024-08-07 06:05:42 -07:00
|
|
|
}
|