24 lines
562 B
Nix
24 lines
562 B
Nix
{
|
|
inputs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ inputs.nixcord.homeModules.nixcord ];
|
|
programs.nixcord = {
|
|
discord.enable = false;
|
|
enable = true;
|
|
vesktop.enable = true;
|
|
# tt-discord's templates/config.yaml uses the filetype/output keys, which
|
|
# base16.nix can't read; give it the extension directly so it skips that file.
|
|
quickCss = builtins.readFile (config.scheme);
|
|
config = {
|
|
useQuickCss = true;
|
|
plugins = {
|
|
messageLogger.enable = true;
|
|
messageClickActions.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|