liminalOS/users/youwen/linux/packages/x86_64/default.nix

37 lines
800 B
Nix
Raw Normal View History

{
pkgs,
inputs,
...
}: let
2024-08-16 06:42:35 -07:00
createCommon = import ../common-packages.nix;
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)
++ (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";
};
}