From e49b8d41afcd3bf56be0e09ce3b7515194f0fa3d Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sat, 5 Aug 2023 19:05:10 +0200 Subject: [PATCH] Add Webcord --- hosts/mrmeeseeks/configuration.nix | 1 + modules/home/webcord.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 modules/home/webcord.nix diff --git a/hosts/mrmeeseeks/configuration.nix b/hosts/mrmeeseeks/configuration.nix index b5a3079..67f6c49 100644 --- a/hosts/mrmeeseeks/configuration.nix +++ b/hosts/mrmeeseeks/configuration.nix @@ -59,6 +59,7 @@ programs.home-manager.enable = true; imports = [ ../../modules/home/desktop + ../../modules/home/webcord.nix ../../modules/home/cli ../../modules/home/firefox ../../modules/home/foot.nix diff --git a/modules/home/webcord.nix b/modules/home/webcord.nix new file mode 100644 index 0000000..b4d8d92 --- /dev/null +++ b/modules/home/webcord.nix @@ -0,0 +1,17 @@ +{ pkgs, ...}: +{ + home.packages = with pkgs; [ + webcord + ]; + + xdg.desktopEntries = { + webcord = { + name = "Webcord"; + genericName = "Unofficial Discord client"; + exec = "webcord --ozone-platform=wayland"; + icon = "webcord"; + terminal = false; + categories = [ "Application" "Network" "WebBrowser" ]; + }; + }; +}