{ inputs, config, lib, pkgs, ... }: # TODO: split into multiple files { home.packages = with pkgs; [ telegram-desktop vscode spotify obsidian nixfmt-classic plantuml btop python312 python312Packages.virtualenv python312Packages.pip libreoffice imagemagick wl-clipboard tesseract syncthing todo pass gtypist zip unzip # yubikey-manager-qt # paprefs ]; services.syncthing = { enable = true; }; # do i really need it? programs.direnv.enable = true; programs.direnv.nix-direnv.enable = true; programs.direnv.enableZshIntegration = true; imports = [ inputs.zen-browser.homeModules.twilight ]; programs.zen-browser = { enable = true; }; xdg.mimeApps = let value = let system = pkgs.stdenv.hostPlatform.system; zen-browser = inputs.zen-browser.packages.${system}.twilight; in zen-browser.meta.desktopFileName; associations = builtins.listToAttrs (map (name: { inherit name value; }) [ "application/x-extension-shtml" "application/x-extension-xhtml" "application/x-extension-html" "application/x-extension-xht" "application/x-extension-htm" "x-scheme-handler/unknown" "x-scheme-handler/mailto" "x-scheme-handler/chrome" "x-scheme-handler/about" "x-scheme-handler/https" "x-scheme-handler/http" "application/xhtml+xml" "application/json" "text/html" ]); in { associations.added = associations; defaultApplications = associations; }; }