1
0
Fork 0
nixos-config/home-manager/roles/daily-driver-programs.nix

77 lines
2.2 KiB
Nix
Raw Normal View History

2021-07-05 15:45:47 +00:00
{ pkgs, lib, config, ... }:
2022-01-20 14:23:57 +00:00
let
serien = pkgs.writeShellScript "serien.rss" ''
cat <<EOF
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>Neue Serien Folgen</title>
<link>https://www.pogdesign.co.uk/cat</link>
<description>Neue Serien Folgen via TV Calendar</description>
EOF
khal list now 14d -a Serien -df "" -f '<item><title>{title}</title><description>{description}</description><guid>{uid}</guid><pubDate>{start-date}</pubDate></item>'
cat <<EOF
</channel>
</rss>
EOF
'';
in
2021-07-05 15:45:47 +00:00
{
2022-01-19 21:39:24 +00:00
home = {
file = {
"newsboat-config" = {
target = ".newsboat/config";
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
2021-07-05 15:45:47 +00:00
2022-01-19 21:39:24 +00:00
"http://www.zdf.de/rss/podcast/video/zdf/comedy/die-anstalt"
2021-07-05 15:45:47 +00:00
2022-01-19 21:39:24 +00:00
"https://www.zdf.de/rss/zdf/show/mai-think-x-die-show"
"https://www.youtube.com/feeds/videos.xml?channel_id=UCyHDQ5C6z1NDmJ4g6SerW8g" # Mailab
2021-07-05 15:45:47 +00:00
2022-01-19 21:39:24 +00:00
"https://www.youtube.com/feeds/videos.xml?channel_id=UC2C_jShtL725hvbm1arSV9w" # GCP Grey
2022-01-19 22:12:24 +00:00
"https://www.youtube.com/feeds/videos.xml?channel_id=UCpXBGqwsBkpvcYjsJBQ7LEQ" # Critical Role
2022-01-20 14:23:57 +00:00
"exec:${serien}"
2022-01-19 21:39:24 +00:00
];
};
};
2021-07-05 15:45:47 +00:00
2022-01-19 21:39:24 +00:00
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
'';
});
2021-07-05 15:45:47 +00:00
2022-01-19 21:39:24 +00:00
inherit (pkgs.gnome) nautilus;
inherit (pkgs.xorg) xbacklight;
inherit (pkgs)
# web
chromium
2021-07-05 15:45:47 +00:00
2022-01-19 21:39:24 +00:00
skypeforlinux google-chrome
2022-01-05 19:07:21 +00:00
2022-01-19 21:39:24 +00:00
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;
};
2021-07-05 15:45:47 +00:00
};
}