36 lines
779 B
Nix
36 lines
779 B
Nix
|
{ pkgs, lib, ... }:
|
||
|
{
|
||
|
home.packages = with pkgs; [
|
||
|
atom # TODO: config
|
||
|
discord
|
||
|
element-desktop#-wayland
|
||
|
f3d
|
||
|
firefox
|
||
|
gnome-connections
|
||
|
scrcpy
|
||
|
slack
|
||
|
#spotify
|
||
|
transmission-remote-gtk
|
||
|
];
|
||
|
|
||
|
# flatpak
|
||
|
|
||
|
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
|
||
|
|
||
|
/** /
|
||
|
# fix spotify facebook login (i instead opt for flatpack, as it how fails with some libcurl stuff)
|
||
|
nixpkgs.overlays = [(final: prev: {
|
||
|
spotify = prev.spotify.override {
|
||
|
nss = prev.nss_latest;
|
||
|
};
|
||
|
})];
|
||
|
/**/
|
||
|
|
||
|
}
|