Working on modularizing stuff, again

This commit is contained in:
Chris Kruining 2024-07-21 14:03:57 +02:00
parent b698ce3485
commit 9ba5f8fdf0
32 changed files with 1481 additions and 88 deletions

View file

@ -1,19 +1,16 @@
{ pkgs, config, ... }:
{
let
inherit (lib.modules) mkIf;
in
{
options.modules.programs.communication = let
inherit (lib.options) mkEnableOption;
in {
enable = mkEnableOption "Discord and Teamspeak";
};
environment.systemPackages = with pkgs; [
discord
webcord
teamspeak_client
];
# config.xdg.desktopEntries.discord = {
# name = "Discord";
# genericName = "All-in-one cross-platform voice and text chat for gamers";
# exec = "Discord --in-process-gpu --use-gl=desktop";
# icon = "Discord";
# categories = [ "Network" "InstantMessaging" ];
# settings = {
# version = "1.4";
# };
# };
}