1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00
home-manager/tests/modules/programs/discocss/basic-configuration.nix
Austin Horstman 3c3076b1c1 tests/discoss: add tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:38:57 -05:00

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}
'';
};
}