new host and other things !

This commit is contained in:
Reid 2026-03-30 19:04:48 -07:00
parent 2546a8d08e
commit 1625a54459
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
12 changed files with 216 additions and 15 deletions

View file

@ -8,24 +8,15 @@ let
withVencord = true;
};
finalPackage =
if cfg.equibop then pkgs.equibop else
if cfg.vesktop then pkgs.vesktop else
vanillaDiscordPackage;
in {
options.modules.software.distractions.discord = {
enable = mkEnableOption "Enable Discord, a social messaging app";
vesktop = mkEnableOption "Use Vesktop, an alternative Electron client with Vencord preinstalled";
equibop = mkEnableOption "Use Equibop, a fork of Vesktop with Equicord preinstalled";
};
config = mkIf cfg.enable {
assertions = [
{
assertion = !(cfg.vesktop && cfg.equibop);
message = "You must either enable Vesktop or Equibop, not both";
}
];
user.packages = [
finalPackage
];