From 0691a38da592e7dd3f24334ac8252f1f05c8f482 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 1 Jan 2023 19:07:26 -0500 Subject: [PATCH] Discord chromium --- home-manager/linux/programs/communications.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/home-manager/linux/programs/communications.nix b/home-manager/linux/programs/communications.nix index e610de9..07a606f 100644 --- a/home-manager/linux/programs/communications.nix +++ b/home-manager/linux/programs/communications.nix @@ -51,10 +51,19 @@ ${pkgs.chromium}/bin/chromium --enable-features=UseOzonePlatform -ozone-platform=wayland "--app=https://app.cinny.in"''; terminal = false; }; + # Discord + discordItem = pkgs.makeDesktopItem { + name = "discord"; + desktopName = "Discord (Chromium)"; + exec = '' + ${pkgs.chromium}/bin/chromium --enable-features=UseOzonePlatform -ozone-platform=wayland "--app=https://discord.com/app"''; + terminal = false; + }; in [ # Discord - inputs.self.packages.${pkgs.system}.discordWayland - betterdiscordctl + # inputs.self.packages.${pkgs.system}.discordWayland + # betterdiscordctl + discordItem # Desktop matrix client (enableWayland element-desktop "element-desktop") # Desktop signal client