config/users/pbsds/home/profiles/desktop.nix

38 lines
877 B
Nix
Raw Normal View History

2023-03-11 03:39:06 +01:00
{ pkgs, lib, ... }:
{
home.packages = with pkgs; [
atom # TODO: config
pulsar # TODO: config, transition into this
2023-03-11 03:39:06 +01:00
discord
element-desktop#-wayland
f3d
firefox
gnome-connections
scrcpy
slack
2023-06-19 02:45:50 +02:00
#spotify # use the flatpak instead
2023-03-11 15:59:56 +01:00
transgui #transmission-remote-gtk
gnome.eog
2023-03-11 03:39:06 +01:00
];
# 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;
};
})];
/**/
}