mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 19:53:49 -08:00
36 lines
796 B
Nix
36 lines
796 B
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}: let
|
|
createCommon = import ../common-packages.nix;
|
|
zen-browser = inputs.zen-browser.packages.${pkgs.system}.specific;
|
|
in {
|
|
home.packages =
|
|
(createCommon pkgs)
|
|
++ (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";
|
|
};
|
|
}
|