1
0
Fork 0

Update newsboat

This commit is contained in:
Malte Brandy 2022-01-19 22:39:24 +01:00
parent 7339c4f0c6
commit 2630ebbe16

View file

@ -1,32 +1,56 @@
{ pkgs, lib, config, ... }: { pkgs, lib, config, ... }:
{ {
home.packages = builtins.attrValues rec { home = {
zoom = pkgs.zoom-us.overrideAttrs (old: { file = {
postFixup = old.postFixup + '' "newsboat-config" = {
wrapProgram $out/bin/zoom-us --unset XDG_SESSION_TYPE target = ".newsboat/config";
wrapProgram $out/bin/zoom --unset XDG_SESSION_TYPE text = "datetime-format \"%Y-%m-%d\"";
''; };
}); "newsboat-urls" = {
target = ".newsboat/urls";
text = lib.concatStringsSep "\n" [
# Haskell
"https://www.youtube.com/feeds/videos.xml?channel_id=UCI1Z201n-8OelkSg0DVOsng" # Tweag
"https://www.youtube.com/feeds/videos.xml?channel_id=UCxVE_2I_fsOe3Mgn_QlXqbQ" # Nomeata
inherit (pkgs.gnome) nautilus; "http://www.zdf.de/rss/podcast/video/zdf/comedy/die-anstalt"
inherit (pkgs.xorg) xbacklight;
inherit (pkgs)
# web
chromium
skypeforlinux google-chrome "https://www.zdf.de/rss/zdf/show/mai-think-x-die-show"
"https://www.youtube.com/feeds/videos.xml?channel_id=UCyHDQ5C6z1NDmJ4g6SerW8g" # Mailab
mumble upower speedtest-cli acpi "https://www.youtube.com/feeds/videos.xml?channel_id=UC2C_jShtL725hvbm1arSV9w" # GCP Grey
];
};
};
anki packages = builtins.attrValues rec {
zoom = pkgs.zoom-us.overrideAttrs (old: {
postFixup = old.postFixup + ''
wrapProgram $out/bin/zoom-us --unset XDG_SESSION_TYPE
wrapProgram $out/bin/zoom --unset XDG_SESSION_TYPE
'';
});
# tools & office inherit (pkgs.gnome) nautilus;
feh gimp imagemagick libreoffice-fresh xournal musescore handbrake evince inherit (pkgs.xorg) xbacklight;
abcde beets zbar inherit (pkgs)
# web
chromium
# media skypeforlinux google-chrome
ncpamixer pavucontrol deluge gmpc vlc mpv youtubeDL syncplay
newsboat; mumble upower speedtest-cli acpi
anki
# tools & office
feh gimp imagemagick libreoffice-fresh xournal musescore handbrake evince
abcde beets zbar
# media
ncpamixer pavucontrol deluge gmpc vlc mpv youtubeDL syncplay
newsboat;
};
}; };
} }