2022-08-11 05:44:58 +03:00
|
|
|
{
|
2022-08-23 08:18:37 +03:00
|
|
|
config,
|
2022-08-11 05:44:58 +03:00
|
|
|
inputs,
|
|
|
|
pkgs,
|
2022-09-02 16:16:07 +03:00
|
|
|
lib,
|
2022-08-11 05:44:58 +03:00
|
|
|
...
|
2022-10-04 02:08:44 +03:00
|
|
|
}: let
|
|
|
|
theme = pkgs.fetchurl {
|
|
|
|
url = "https://raw.githubusercontent.com/catppuccin/discord/c162aee9d71a06908abf285f9a5239c6bea8b5e9/themes/mocha.theme.css";
|
|
|
|
hash = "sha256-dPKW+Mru+KvivvobwbOgj2g8mSiSspdVOXrxbXCel8M=";
|
|
|
|
};
|
|
|
|
in {
|
2022-08-23 08:18:37 +03:00
|
|
|
home.persistence."${config.system.persistDir}${config.home.homeDirectory}".directories = [
|
2022-09-02 16:16:07 +03:00
|
|
|
".config/WebCord"
|
2022-08-23 08:18:37 +03:00
|
|
|
];
|
2022-09-02 18:02:46 +03:00
|
|
|
home.packages = let
|
2022-10-04 02:08:44 +03:00
|
|
|
pkg = inputs.webcord.packages.${pkgs.system}.webcord.override {
|
|
|
|
flags = "--add-css-theme=${theme}";
|
|
|
|
};
|
|
|
|
in [pkg];
|
2022-08-11 05:44:58 +03:00
|
|
|
}
|