this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

No More News

Ben C e65563b0 3c26b29d

+10 -297
-286
homeModules/news.nix
··· 1 - { 2 - pkgs, 3 - config, 4 - lib, 5 - ... 6 - }: let 7 - yt-feed = id: { 8 - url = "https://www.youtube.com/feeds/videos.xml?channel_id=" + id; 9 - tags = [ 10 - "!" 11 - "youtube" 12 - ]; 13 - }; 14 - yt-subs = [ 15 - "UCa8W2_uf81Ew6gYuw0VPSeA" # Juxtaposed 16 - "UCMiyV_Ib77XLpzHPQH_q0qQ" # Veronica Explains 17 - "UC7_YxT-KID8kRbqZo7MyscQ" # Markiplier 18 - "UCUMwY9iS8oMyWDYIe6_RmoA" # No Boilerplate 19 - "UCRC6cNamj9tYAO6h_RXd5xA" # RTGame 20 - "UCYIwBA7mwDWnrckXs7gt76Q" # Snapcube 21 - "UCCHruaQlOKPHTl8iOPGDjFg" # Snapcube 2 (VODs) 22 - "UCL7DDQWP6x7wy0O6L5ZIgxg" # 2andJerma 23 - "UC9z7EZAbkphEMg0SP7rw44A" # carykh 24 - "UCpmvp5czsIrQHsbqya4-6Jw" # Chad Chad 25 - "UC0e3QhIYukixgh5VVpKHH9Q" # Code Bullet 26 - "UCfPUcG3oCmXEYgdFuwlFh8w" # Dingo Doodles 27 - "UCsBjURrPoezykLs9EqgamOA" # Fireship 28 - "UCGwu0nbY2wSkW8N-cghnLpA" # Jaiden Animations 29 - "UClBNmmlREy6BD8PSTFBDyQg" # Kan Gao 30 - "UCm8EsftbfNzSiRHzc7I59KQ" # Kevin Faang 31 - "UCtHaxi4GTYDpJgMSGy7AeSw" # Michael Reeves 32 - "UCXq2nALoSbxLMehAvYTxt_A" # The Grumps 33 - "UCBa659QWEk1AI4Tg--mrJ2A" # Tom Scott 34 - "UCFLwN7vRu8M057qJF8TsBaA" # UpIsNotJump 35 - "UCPsSoOCRNIj-eo2UbXfcdAw" # xen 42 36 - "UCYBbrJH2H6tmQZ7VHyA_esA" # Saltydkdan 37 - "UCBZb-2BHvUtZ-WzrEj16lug" # Raicuparta 38 - "UCPDXXXJj9nax0fr0Wfc048g" # Dropout 39 - "UC8EYr_ArKMKaxfgRq-iCKzA" # WindowsG Electronics 40 - "UCJXa3_WNNmIpewOtCHf3B0g" # LaurieWired 41 - ]; 42 - in { 43 - options.cow.news.enable = lib.mkEnableOption "news feeds with newsboat"; 44 - 45 - config = lib.mkIf config.cow.news.enable { 46 - cow.imperm.keep = [".local/share/newsboat"]; 47 - 48 - home.packages = with pkgs; [ 49 - rdrview 50 - ]; 51 - 52 - xdg.dataFile = lib.mkIf config.cow.gdi.enable { 53 - "applications/newsboat.desktop".text = '' 54 - [Desktop Entry] 55 - Type=Application 56 - Name=newsboat 57 - Icon=newsboat 58 - ''; 59 - }; 60 - 61 - programs.newsboat = { 62 - enable = true; 63 - browser = ''"${../res/news-open.nu} %u ${lib.getExe pkgs.w3m}"''; 64 - 65 - # notify-program ${../res/news-notify.nu} 66 - 67 - extraConfig = '' 68 - confirm-mark-feed-read no 69 - confirm-mark-all-feeds-read no 70 - wrap-scroll yes 71 - text-width 90 72 - 73 - color listnormal color8 default 74 - color listnormal_unread default default 75 - color listfocus black green 76 - color listfocus_unread black green bold 77 - ''; 78 - 79 - queries = { 80 - "Youtube" = "tags # \"youtube\""; 81 - }; 82 - 83 - urls = 84 - [ 85 - { 86 - title = "Outer Wilds Mods"; 87 - url = "https://outerwildsmods.com/feed.xml"; 88 - tags = [ 89 - "dev" 90 - "outer-wilds" 91 - ]; 92 - } 93 - { 94 - title = "Mobius Digital"; 95 - url = "https://www.mobiusdigitalgames.com/news/feed"; 96 - tags = ["outer-wilds"]; 97 - } 98 - { 99 - title = "NixOS Blog"; 100 - url = "https://nixos.org/blog/feed.xml"; 101 - tags = [ 102 - "dev" 103 - "linux" 104 - "nixos" 105 - ]; 106 - } 107 - { 108 - title = "Linux Weekly News"; 109 - url = "https://lwn.net/headlines/newrss"; 110 - tags = [ 111 - "dev" 112 - "linux" 113 - ]; 114 - } 115 - { 116 - title = "KDE Blog"; 117 - url = "https://blogs.kde.org/index.xml"; 118 - tags = [ 119 - "dev" 120 - "linux" 121 - ]; 122 - } 123 - { 124 - title = "Rust Blog"; 125 - url = "https://blog.rust-lang.org/feed.xml"; 126 - tags = [ 127 - "dev" 128 - "rust" 129 - ]; 130 - } 131 - { 132 - title = "NuShell Blog"; 133 - url = "https://www.nushell.sh/rss.xml"; 134 - tags = [ 135 - "dev" 136 - "linux" 137 - ]; 138 - } 139 - { 140 - title = "Tauri Blog"; 141 - url = "https://tauri.app/blog/rss.xml"; 142 - tags = [ 143 - "dev" 144 - "rust" 145 - ]; 146 - } 147 - { 148 - title = "Node.js Blog"; 149 - url = "https://nodejs.org/en/feed/blog.xml"; 150 - tags = [ 151 - "dev" 152 - "web" 153 - ]; 154 - } 155 - { 156 - title = "V8 Blog"; 157 - url = "https://v8.dev/blog.atom"; 158 - tags = [ 159 - "dev" 160 - "web" 161 - ]; 162 - } 163 - { 164 - title = "Vite Blog"; 165 - url = "https://vitejs.dev/blog.rss"; 166 - tags = [ 167 - "dev" 168 - "web" 169 - ]; 170 - } 171 - { 172 - title = "React Blog"; 173 - url = "https://react.dev/rss.xml"; 174 - tags = [ 175 - "dev" 176 - "web" 177 - ]; 178 - } 179 - { 180 - title = "Astro JS"; 181 - url = "https://astro.build/rss.xml"; 182 - tags = [ 183 - "dev" 184 - "web" 185 - ]; 186 - } 187 - { 188 - title = "W3C Blog"; 189 - url = "https://www.w3.org/blog/feed/"; 190 - tags = [ 191 - "dev" 192 - "web" 193 - ]; 194 - } 195 - { 196 - title = "Mozilla Blog"; 197 - url = "https://blog.mozilla.org/en/feed/"; 198 - tags = [ 199 - "dev" 200 - "web" 201 - ]; 202 - } 203 - { 204 - title = "Chrome Dev Blog"; 205 - url = "https://developer.chrome.com/static/blog/feed.xml"; 206 - tags = [ 207 - "dev" 208 - "web" 209 - ]; 210 - } 211 - { 212 - title = "Webkit Blog"; 213 - url = "https://webkit.org/feed/"; 214 - tags = [ 215 - "dev" 216 - "web" 217 - ]; 218 - } 219 - { 220 - title = "Veronica Explains"; 221 - url = "https://vkc.sh/feed/"; 222 - tags = [ 223 - "linux" 224 - "personal-blog" 225 - ]; 226 - } 227 - { 228 - title = "Tom Scott Newsletter"; 229 - url = "https://www.tomscott.com/updates.xml"; 230 - tags = ["personal-blog"]; 231 - } 232 - { 233 - title = "Dave Eddy"; 234 - url = "https://blog.daveeddy.com/rss.xml"; 235 - tags = ["personal-blog"]; 236 - } 237 - { 238 - title = "Dylan Beattie"; 239 - url = "https://dylanbeattie.net/feed.xml"; 240 - tags = ["personal-blog"]; 241 - } 242 - { 243 - title = "Xe Iaso"; 244 - url = "https://xeiaso.net/blog.rss"; 245 - tags = ["personal-blog"]; 246 - } 247 - { 248 - title = "Anil Dash"; 249 - url = "https://www.anildash.com/feed.xml"; 250 - tags = ["personal-blog"]; 251 - } 252 - { 253 - title = "Ben Romer"; 254 - url = "https://www.cyborgcentral.net/feed"; 255 - tags = ["personal-blog"]; 256 - } 257 - { 258 - title = "HiDeoo"; 259 - url = "https://hideoo.dev/notes/rss.xml"; 260 - tags = ["personal-blog"]; 261 - } 262 - { 263 - title = "Kerkour"; 264 - url = "https://kerkour.com/feed.xml"; 265 - tags = ["personal-blog"]; 266 - } 267 - { 268 - title = "Avis"; 269 - url = "https://avris.it/blog.atom"; 270 - tags = ["personal-blog"]; 271 - } 272 - { 273 - title = "XKCD"; 274 - url = "https://xkcd.com/rss.xml"; 275 - tags = ["personal-blog"]; 276 - } 277 - { 278 - title = "Lobste"; 279 - url = "https://lobste.rs/rss"; 280 - tags = ["tech"]; 281 - } 282 - ] 283 - ++ (map yt-feed yt-subs); 284 - }; 285 - }; 286 - }
+10 -10
homeModules/waybar.nix
··· 105 105 on-click = "kdeconnect-settings"; 106 106 return-type = "json"; 107 107 }; 108 - "custom/news" = { 109 - exec = "${pkgs.nushell}/bin/nu ${../res/custom_waybar_modules/newsboat.nu}"; 110 - exec-on-event = true; 111 - format = "{}"; 112 - on-click-right = "pkill waybar -SIGRTMIN+6"; 113 - restart-interval = 1800; 114 - return-type = "json"; 115 - signal = 6; 116 - }; 108 + # "custom/news" = { 109 + # exec = "${pkgs.nushell}/bin/nu ${../res/custom_waybar_modules/newsboat.nu}"; 110 + # exec-on-event = true; 111 + # format = "{}"; 112 + # on-click-right = "pkill waybar -SIGRTMIN+6"; 113 + # restart-interval = 1800; 114 + # return-type = "json"; 115 + # signal = 6; 116 + # }; 117 117 "custom/notification" = { 118 118 escape = true; 119 119 exec = "swaync-client -swb"; ··· 158 158 "clock#1" 159 159 "clock#2" 160 160 ] 161 - ++ lib.optional config.cow.news.enable "custom/news" 161 + # ++ lib.optional config.cow.news.enable "custom/news" 162 162 ++ [ 163 163 "custom/weather" 164 164 ];
-1
nixosModules/role-laptop.nix
··· 16 16 config = lib.mkIf config.cow.role-laptop.enable { 17 17 home-manager.users.bean.cow = lib.mkIf config.cow.bean.enable { 18 18 music.enable = true; 19 - news.enable = true; 20 19 qmplay2.enable = true; 21 20 sync.enable = true; 22 21 dev.enable = true;