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-10-14 18:32:30 +02:00
|
|
|
imports = [
|
|
|
|
./lxterminal
|
2023-10-14 18:33:25 +02:00
|
|
|
./pulsar
|
2024-09-22 02:13:47 +02:00
|
|
|
./zed
|
2024-10-07 11:42:46 +02:00
|
|
|
./mime.nix
|
2024-10-07 11:39:06 +02:00
|
|
|
./mpv.nix
|
|
|
|
./salert.nix
|
|
|
|
./sshuttle.nix
|
2023-10-14 18:32:30 +02:00
|
|
|
];
|
|
|
|
|
2023-11-10 22:55:32 +01:00
|
|
|
# TODO: doesn't work?
|
2024-10-07 11:39:06 +02:00
|
|
|
nixpkgs.config.permittedUnfreePackages = [
|
|
|
|
pkgs.discord.name
|
|
|
|
pkgs.telegram-desktop.name
|
|
|
|
pkgs.spotify.name
|
2023-06-26 23:11:42 +02:00
|
|
|
];
|
|
|
|
|
2024-10-07 11:39:06 +02:00
|
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
|
|
pkgs.pulsar.name
|
|
|
|
pkgs.zotero.name
|
2023-11-10 22:55:32 +01:00
|
|
|
];
|
|
|
|
|
2023-03-11 03:39:06 +01:00
|
|
|
home.packages = with pkgs; [
|
2024-07-10 00:31:00 +02:00
|
|
|
wl-clipboard-timeout
|
2023-07-04 16:32:09 +02:00
|
|
|
|
2023-03-11 03:39:06 +01:00
|
|
|
discord
|
2023-10-14 18:40:32 +02:00
|
|
|
element-desktop
|
2024-09-16 23:44:42 +02:00
|
|
|
signal-desktop
|
2023-10-14 18:40:32 +02:00
|
|
|
#element-desktop-wayland
|
2024-03-13 23:35:32 +01:00
|
|
|
#nheko
|
|
|
|
#fluffychat
|
2023-07-09 00:10:03 +02:00
|
|
|
|
2024-10-31 16:25:35 +01:00
|
|
|
(pkgs.onlyoffice-desktopeditors or pkgs.libreoffice)
|
2024-07-08 22:30:59 +02:00
|
|
|
|
2024-09-27 11:13:26 +02:00
|
|
|
emote
|
|
|
|
normcap # doesn't work on wayland
|
2024-10-19 04:05:19 +02:00
|
|
|
gcolor3
|
2024-09-27 11:13:26 +02:00
|
|
|
icon-library
|
|
|
|
|
2024-08-16 23:46:54 +02:00
|
|
|
gitg
|
|
|
|
|
2024-08-04 04:54:14 +02:00
|
|
|
remote-exec
|
|
|
|
|
2024-03-23 19:33:09 +01:00
|
|
|
(pkgs.zxtune or unstable.zxtune or null)
|
2024-01-26 01:46:33 +01:00
|
|
|
|
2023-03-11 03:39:06 +01:00
|
|
|
f3d
|
|
|
|
firefox
|
2023-06-23 21:45:16 +02:00
|
|
|
zotero
|
2024-03-02 15:33:04 +01:00
|
|
|
(pkgs.loupe or pkgs.gnome.eog)
|
2024-10-08 15:15:46 +02:00
|
|
|
evince
|
|
|
|
/* papers */
|
|
|
|
|
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-10-14 18:40:32 +02:00
|
|
|
]
|
|
|
|
++ builtins.filter (drv: (builtins.tryEval drv.outPath).success) [
|
2024-03-13 23:35:32 +01:00
|
|
|
slack
|
|
|
|
telegram-desktop
|
2023-10-14 18:40:32 +02:00
|
|
|
teams
|
|
|
|
zoom-us
|
2023-03-11 03:39:06 +01:00
|
|
|
];
|
|
|
|
|
2024-09-13 18:25:22 +02:00
|
|
|
programs.firefox.enableGnomeExtensions = true;
|
|
|
|
|
2024-03-02 15:33:04 +01:00
|
|
|
home.shellAliases.eog = lib.mkIf (pkgs?loupe) "loupe";
|
|
|
|
|
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
|
2024-03-02 15:33:04 +01:00
|
|
|
$DRY_RUN_CMD flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
2023-03-11 03:39:06 +01:00
|
|
|
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
|
|
|
}
|