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

41 lines
788 B
Nix
Raw Normal View History

{
pkgs,
inputs,
...
2024-09-02 18:16:22 -07:00
}:
let
2024-08-16 06:42:35 -07:00
createCommon = import ../common-packages.nix;
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;
[
bitwarden-desktop
modrinth-app
lutris
wine
sbctl
r2modman
]
2024-09-02 18:16:22 -07:00
++ [ zen-browser ]
);
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" ];
};
};
home.sessionVariables = {
2024-08-28 00:31:01 -07:00
DEFAULT_BROWSER = "${zen-browser}/bin/zen";
};
}