add: discord

This commit is contained in:
ooks-io 2024-01-22 13:58:55 +13:00
parent 53a7e7f576
commit bfbd8c11e3
4 changed files with 28 additions and 1 deletions

View file

@ -17,6 +17,9 @@ in
notification.mako.enable = true;
bar.eww.enable = true;
};
communication = {
discord.enable = true;
};
browser.firefox = {
enable = true;
default = true;

View file

@ -0,0 +1,13 @@
{ lib, ... }:
{
imports = [
./discord
];
options.programs.desktop.communication = {
discord = {
enable = lib.mkEnableOption "Enable discord module";
};
};
}

View file

@ -0,0 +1,11 @@
{ lib, config, pkgs, ... }:
let
cfg = config.programs.desktop.communication.discord;
in
{
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [ vesktop ];
};
}

View file

@ -3,7 +3,7 @@
./themeSettings # done
./browser # done -- firefox still need: chrome, brave
#./creative -- still needs to be implemented
#./communication -- still needs to be implemented
./communication # only discord implemented
#./desktopEnvironment -- still needs to be implemented
./media # done -- spotify gui still needs to be implemented
./terminal # done -- wezterm still needs to be implemented