{ pkgs, lib, ... }: { imports = [ ./lxterminal ]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "discord" "telegra-desktop" "spotify" ]; home.packages = with pkgs; [ atom # TODO: config pulsar # TODO: config, transition into this # TODO: nodePackages.bash-language-server # TODO: python-lsp-server, somehow discord element-desktop#-wayland slack telegram-desktop teams zoom-us f3d firefox zotero gnome.eog gnome-connections scrcpy #spotify # use flathub version instead transgui #transmission-remote-gtk ]; # flatpak # TODO: this requires a logout+login to take effect home.activation.addFlathubRemote = lib.hm.dag.entryAfter ["writeBoundary"] '' if command -v flatpak >/dev/null; then $DRY_RUN_CMD \ flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo fi ''; # TODO: automatic flatpak updates # TODO: fix collision ## Do not keep me from using the app just to force an update #xdg.configFile."discord/settings.json".text = builtins.toJSON { # SKIP_HOST_UPDATE = true; #}; }