2024-08-26 17:54:50 -07:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
inputs,
|
|
|
|
...
|
2024-09-02 18:16:22 -07:00
|
|
|
}:
|
|
|
|
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-09-02 18:16:22 -07:00
|
|
|
in
|
|
|
|
{
|
2024-08-16 06:42:35 -07:00
|
|
|
home.packages =
|
|
|
|
(createCommon pkgs)
|
2024-09-02 18:16:22 -07:00
|
|
|
++ (
|
|
|
|
with pkgs;
|
2024-08-26 20:52:30 -07:00
|
|
|
[
|
|
|
|
bitwarden-desktop
|
|
|
|
modrinth-app
|
|
|
|
lutris
|
|
|
|
sbctl
|
|
|
|
r2modman
|
2024-09-25 10:12:33 -07:00
|
|
|
zoom-us
|
2024-08-26 20:52:30 -07:00
|
|
|
]
|
2024-09-02 18:16:22 -07:00
|
|
|
++ [ zen-browser ]
|
|
|
|
);
|
2024-08-26 20:52:30 -07:00
|
|
|
|
|
|
|
xdg.mimeApps = {
|
|
|
|
enable = true;
|
|
|
|
defaultApplications = {
|
2024-09-02 18:16:22 -07:00
|
|
|
"text/html" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/http" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/https" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/about" = [ "zen.desktop" ];
|
|
|
|
"x-scheme-handler/unknown" = [ "zen.desktop" ];
|
2024-08-26 20:52:30 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
2024-08-28 00:31:01 -07:00
|
|
|
DEFAULT_BROWSER = "${zen-browser}/bin/zen";
|
2024-08-26 20:52:30 -07:00
|
|
|
};
|
2024-08-07 06:05:42 -07:00
|
|
|
}
|