mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
34 lines
705 B
Nix
34 lines
705 B
Nix
{
|
|
config = {
|
|
programs.discocss = {
|
|
enable = true;
|
|
package = null;
|
|
|
|
discordAlias = false;
|
|
|
|
css = ''
|
|
/* Custom Discord theme */
|
|
.theme-dark {
|
|
--background-primary: #2f3136;
|
|
--background-secondary: #36393f;
|
|
}
|
|
|
|
.chat-3bRxxu {
|
|
background: var(--background-primary);
|
|
}
|
|
|
|
.content-yTz4x3:before {
|
|
content: "Custom CSS Loaded";
|
|
color: #43b581;
|
|
}
|
|
'';
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/discocss/custom.css
|
|
assertFileContent \
|
|
home-files/.config/discocss/custom.css \
|
|
${./with-custom-css-expected.css}
|
|
'';
|
|
};
|
|
}
|