From bf5eb17672a24204d115f57f43e4636f1cf4f743 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 20 Oct 2024 11:18:01 -0700 Subject: [PATCH] feat(newsboat): Remove Newsboat --- .sources/sources.json | 13 ------------- modules/home-manager/all-modules.nix | 1 - modules/home-manager/newsboat.nix | 15 --------------- 3 files changed, 29 deletions(-) delete mode 100644 modules/home-manager/newsboat.nix diff --git a/.sources/sources.json b/.sources/sources.json index 0eb5ac7..0e126bc 100644 --- a/.sources/sources.json +++ b/.sources/sources.json @@ -216,18 +216,6 @@ "url": "https://github.com/catppuccin/mpv/archive/7b93fb0febd0490a8ccfe3077ab7741a9b4ef44a.tar.gz", "hash": "1wzahqxqrblalkcxi4ll05vi5rhmsm3z4mk7d96rfka2c38wc5wj" }, - "newsboat": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "catppuccin", - "repo": "newsboat" - }, - "branch": "main", - "revision": "be3d0ee1ba0fc26baf7a47c2aa7032b7541deb0f", - "url": "https://github.com/catppuccin/newsboat/archive/be3d0ee1ba0fc26baf7a47c2aa7032b7541deb0f.tar.gz", - "hash": "04ib4lvma5959n943f7myzbc2blmb8n2dd7bkb0xgl2rnpfx2fvk" - }, "nvim": { "type": "Git", "repository": { @@ -459,4 +447,3 @@ }, "version": 3 } - diff --git a/modules/home-manager/all-modules.nix b/modules/home-manager/all-modules.nix index eb26ac7..c05b66c 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -15,7 +15,6 @@ ./hyprland.nix ./k9s.nix ./kitty.nix - ./newsboat.nix ./mako.nix ./micro.nix ./mpv.nix diff --git a/modules/home-manager/newsboat.nix b/modules/home-manager/newsboat.nix deleted file mode 100644 index e3e79a4..0000000 --- a/modules/home-manager/newsboat.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, lib, ... }: -let - inherit (config.catppuccin) sources; - - cfg = config.programs.newsboat.catppuccin; - enable = cfg.enable && config.programs.newsboat.enable; - theme = if cfg.flavor == "latte" then "latte" else "dark"; -in -{ - options.programs.newsboat.catppuccin = lib.ctp.mkCatppuccinOpt { name = "newsboat"; }; - - config = lib.mkIf enable { - programs.newsboat.extraConfig = builtins.readFile "${sources.newsboat}/themes/${theme}"; - }; -}