refactor: cleanup modules

This commit is contained in:
ooks-io 2024-04-17 19:57:21 +12:00
parent 08f82791ed
commit 3cea196a1e
3 changed files with 4 additions and 10 deletions

View file

@ -4,10 +4,12 @@ let
cfg = config.homeModules.desktop.communication.discord;
fonts = config.homeModules.theme.fonts;
inherit (config.colorscheme) colors;
inherit (lib) mkIf mkEnableOption;
in
{
config = lib.mkIf cfg.enable {
options.homeModules.desktop.communication.discord.enable = mkEnableOption "Enable discord home manager module";
config = mkIf cfg.enable {
home.packages = [ pkgs.vesktop ];
xdg.configFile."vesktop/themes/nix.css".text = /* css */ ''