2023-03-11 03:39:06 +01:00
|
|
|
{ pkgs, lib, ... }:
|
2023-06-28 22:22:48 +02:00
|
|
|
|
2023-03-11 03:39:06 +01:00
|
|
|
{
|
2023-06-28 22:22:48 +02:00
|
|
|
|
2023-06-26 23:11:42 +02:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"discord"
|
|
|
|
"telegra-desktop"
|
|
|
|
"spotify"
|
|
|
|
];
|
|
|
|
|
2023-03-11 03:39:06 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
atom # TODO: config
|
2023-06-19 15:15:10 +02:00
|
|
|
pulsar # TODO: config, transition into this
|
2023-07-04 16:32:09 +02:00
|
|
|
# TODO: nodePackages.bash-language-server
|
|
|
|
# TODO: python-lsp-server, somehow
|
|
|
|
|
2023-03-11 03:39:06 +01:00
|
|
|
discord
|
|
|
|
element-desktop#-wayland
|
2023-06-23 21:45:16 +02:00
|
|
|
slack
|
2023-06-29 02:43:56 +02:00
|
|
|
telegram-desktop
|
2023-03-11 03:39:06 +01:00
|
|
|
f3d
|
|
|
|
firefox
|
2023-06-23 21:45:16 +02:00
|
|
|
zotero
|
|
|
|
gnome.eog
|
2023-03-11 03:39:06 +01:00
|
|
|
gnome-connections
|
|
|
|
scrcpy
|
2023-06-29 02:43:56 +02:00
|
|
|
#spotify # use flathub version instead
|
2023-03-11 15:59:56 +01:00
|
|
|
transgui #transmission-remote-gtk
|
2023-03-11 03:39:06 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
# flatpak
|
2023-06-26 23:11:42 +02:00
|
|
|
# TODO: this requires a logout+login to take effect
|
2023-03-11 03:39:06 +01:00
|
|
|
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
|
|
|
|
|
2023-06-29 02:43:56 +02:00
|
|
|
# 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;
|
|
|
|
#};
|
2023-06-28 22:22:48 +02:00
|
|
|
|
2023-03-11 03:39:06 +01:00
|
|
|
}
|