I enable a settings module using home-manager on NixOS with the following config:
{ config, ... }:
# Discocss discord css injector theme
{
programs.discocss = {
enable = true;
discordAlias = true; # Whether to alias discocss to discord.
css = let inherit (config.colorscheme) colors; in /* css */ ''
.theme-light {
--background-primary: #${colors.base00}88;
--background-primary-alt: #${colors.base01}88;
--background-secondary: #${colors.base02}88;
--background-secondary-alt: #${colors.base03}88;
--background-tertiary: #${colors.base04}88;
}
'';
/*
NOTES: If you want your window to be transparent, you have to change the --background- css
variables to have an alpha value. You can add alpha to a hex color by appending 2 extra hex
digits to it. Example from my theme (44 is the hex alpha value):
*/
};
}
And I've gotten the following error:
Which occurs when I start discord after a Home-Manager rebuild.
Hi,
I enable a settings module using home-manager on NixOS with the following config:
And I've gotten the following error:
Which occurs when I start discord after a Home-Manager rebuild.