From 847491e797dc0c896684bae18d9192d6308c8de0 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 19 Oct 2024 10:44:04 -0700 Subject: [PATCH] feat: Remove aerc --- .sources/sources.json | 12 ------------ modules/home-manager/aerc.nix | 23 ----------------------- 2 files changed, 35 deletions(-) delete mode 100644 modules/home-manager/aerc.nix diff --git a/.sources/sources.json b/.sources/sources.json index 4ce9e03..89ab954 100644 --- a/.sources/sources.json +++ b/.sources/sources.json @@ -1,17 +1,5 @@ { "pins": { - "aerc": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "catppuccin", - "repo": "aerc" - }, - "branch": "main", - "revision": "ca404a9f2d125ef12db40db663d43c9d94116a05", - "url": "https://github.com/catppuccin/aerc/archive/ca404a9f2d125ef12db40db663d43c9d94116a05.tar.gz", - "hash": "0q9a818rwsqx5kvln5zzfan54xaw9yqbbm5hjbrwzdl5q8g28qir" - }, "alacritty": { "type": "Git", "repository": { diff --git a/modules/home-manager/aerc.nix b/modules/home-manager/aerc.nix deleted file mode 100644 index 4e90e27..0000000 --- a/modules/home-manager/aerc.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ config, lib, ... }: -let - inherit (config.catppuccin) sources; - cfg = config.programs.aerc.catppuccin; - enable = cfg.enable && config.programs.aerc.enable; - themeName = "catppuccin-${cfg.flavor}"; -in -{ - options.programs.aerc.catppuccin = lib.ctp.mkCatppuccinOpt { name = "aerc"; }; - - config = lib.mkIf enable { - programs.aerc = { - stylesets.${themeName} = builtins.readFile "${sources.aerc}/dist/${themeName}"; - extraConfig = { - ui = { - styleset-name = themeName; - border-char-vertical = "│"; - border-char-horizontal = "─"; - }; - }; - }; - }; -}