53 lines
1.3 KiB
Nix
53 lines
1.3 KiB
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.local.apps.defaultApps;
|
||
|
in
|
||
|
{
|
||
|
options.local.apps.defaultApps.enable = mkEnableOption "Default app library";
|
||
|
config = mkIf cfg.enable {
|
||
|
home.packages = with pkgs; [
|
||
|
chromium
|
||
|
darktable
|
||
|
deluge
|
||
|
discord
|
||
|
element-desktop
|
||
|
firefox
|
||
|
gperftools
|
||
|
gwenview
|
||
|
helix
|
||
|
libreoffice-fresh
|
||
|
lutris
|
||
|
mpv
|
||
|
neovim
|
||
|
obs-studio
|
||
|
openrct2
|
||
|
pavucontrol
|
||
|
pdfarranger
|
||
|
prismlauncher
|
||
|
qpdfview
|
||
|
runelite
|
||
|
spotify
|
||
|
tdesktop
|
||
|
vlc
|
||
|
vpsfree-client
|
||
|
vscodium-fhs
|
||
|
zola
|
||
|
zoom-us
|
||
|
];
|
||
|
|
||
|
xdg.mimeApps.defaultApplications = {
|
||
|
"application/x-extension-htm" = [ "firefox.desktop" ];
|
||
|
"application/x-extension-html" = [ "firefox.desktop" ];
|
||
|
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
||
|
"application/x-extension-xht" = [ "firefox.desktop" ];
|
||
|
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
||
|
"application/xhtml+xml" = [ "firefox.desktop" ];
|
||
|
"text/html" = [ "firefox.desktop" ];
|
||
|
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||
|
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||
|
"application/pdf" = [ "qpdfview.desktop" ];
|
||
|
};
|
||
|
};
|
||
|
}
|