From 0a86216e773e043b891afcfd2b110867cb16b9d6 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Wed, 13 Sep 2023 20:42:42 +0200 Subject: [PATCH] fix: remove obsolete webcord config --- modules/gui/webcord/armcord.nix | 75 ------------------------------ modules/gui/webcord/config.json | 82 --------------------------------- 2 files changed, 157 deletions(-) delete mode 100644 modules/gui/webcord/armcord.nix delete mode 100644 modules/gui/webcord/config.json diff --git a/modules/gui/webcord/armcord.nix b/modules/gui/webcord/armcord.nix deleted file mode 100644 index 53599265..00000000 --- a/modules/gui/webcord/armcord.nix +++ /dev/null @@ -1,75 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - home.packages = with pkgs; [ - webcord-vencord - ]; - - #xdg.configFile."WebCord/Themes/catppuccin-mocha.theme.css".source = builtins.fetchurl { - # url = "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css"; - # sha256 = "065ln4b8rgbdqnfkafqpg9pw5fnabk1nkx7hly88m4g6f6bkznkq"; - #}; - - #xdg.configFile."WebCord/config.json".text = builtins.toJSON { - # settings = { - # general = { - # menuBar.hide = true; - # tray.disable = true; - # taskbar.flash = false; - # window = { - # hideOnClose = false; - # transparent = false; - # }; - # }; - # privacy = { - # blockApi = { - # science = true; - # typingIndicator = true; - # fingerprinting = true; - # }; - # permissions = { - # audio = true; - # fullscreen = true; - # notifications = true; - # display-capture = true; - # video = false; - # background-sync = false; - # }; - # }; - # advanced = { - # csp.enabled = true; - # cspThirdParty = { - # spotify = false; - # gif = true; - # hcaptcha = true; - # youtube = true; - # twitter = false; - # twitch = false; - # streamable = false; - # vimeo = false; - # soundcloud = false; - # paypal = false; - # audius = false; - # algolia = false; - # reddit = false; - # googleStorageApi = false; - # }; - # currentInstance.radio = 0; - # devel.enabled = false; - # redirection.warn = true; - # optimize.gpu = true; - # webApi.webGl = true; - # unix.autoscroll = false; - # }; - # }; - # update.notification = { - # version = ""; - # till = ""; - # }; - # screenShareStore.audio = false; - #}; - #xdg.configFile."WebCord/config.json".source = config.lib.file.mkOutOfStoreSymlink "./config.json"; -} diff --git a/modules/gui/webcord/config.json b/modules/gui/webcord/config.json deleted file mode 100644 index 92674c4b..00000000 --- a/modules/gui/webcord/config.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "settings": { - "general": { - "menuBar": { - "hide": true - }, - "tray": { - "disable": true - }, - "taskbar": { - "flash": true - }, - "window": { - "transparent": false, - "hideOnClose": false - } - }, - "privacy": { - "blockApi": { - "science": true, - "typingIndicator": true, - "fingerprinting": true - }, - "permissions": { - "video": null, - "audio": false, - "fullscreen": true, - "notifications": null, - "display-capture": true, - "background-sync": false - } - }, - "advanced": { - "csp": { - "enabled": true - }, - "cspThirdParty": { - "spotify": true, - "gif": true, - "hcaptcha": true, - "youtube": true, - "twitter": true, - "twitch": true, - "streamable": true, - "vimeo": true, - "soundcloud": true, - "paypal": true, - "audius": true, - "algolia": true, - "reddit": true, - "googleStorageApi": true - }, - "currentInstance": { - "radio": 0 - }, - "devel": { - "enabled": false - }, - "redirection": { - "warn": true - }, - "optimize": { - "gpu": true - }, - "webApi": { - "webGl": true - }, - "unix": { - "autoscroll": false - } - } - }, - "update": { - "notification": { - "version": "", - "till": "" - } - }, - "screenShareStore": { - "audio": false - } -}