1

Home: Replace vesktop/discord with discord canary (has wayland screenshare now)

This commit is contained in:
2024-12-10 18:46:43 +01:00
parent fa79958268
commit f367096384

View File

@ -95,12 +95,14 @@ rec {
workspacerules = { workspacerules = {
"2" = [ "2" = [
"neovide" "neovide"
"jetbrains-clion"
"jetbrains-idea"
"jetbrains-pycharm"
"jetbrains-rustrover"
"jetbrains-rider"
"code-url-handler" "code-url-handler"
# NOTE: Fixing Jetbrains IDEs to a workspace prevents them from being on any other :(
# "jetbrains-clion"
# "jetbrains-idea"
# "jetbrains-pycharm"
# "jetbrains-rustrover"
# "jetbrains-rider"
# "jetbrains-webstorm"
]; ];
"3" = [ "3" = [
"obsidian" "obsidian"
@ -149,6 +151,7 @@ rec {
"jetbrains-pycharm" "jetbrains-pycharm"
"jetbrains-rustrover" "jetbrains-rustrover"
"jetbrains-rider" "jetbrains-rider"
"jetbrains-webstorm"
"code-url-handler" "code-url-handler"
"neovide" "neovide"
]; ];
@ -477,14 +480,30 @@ rec {
# kdeconnect.enable = true; # Note: This does not setup the firewall at all # kdeconnect.enable = true; # Note: This does not setup the firewall at all
flatpak = { flatpak = {
# FlatHub stable is only added by default if no custom remotes are specified
remotes = [
{
name = "flathub";
location = "https://flathub.org/repo/flathub.flatpakrepo";
}
{
name = "flathub-beta";
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
}
];
packages = [ packages = [
"com.github.tchx84.Flatseal" "com.github.tchx84.Flatseal"
"com.discordapp.Discord"
"com.spotify.Client" "com.spotify.Client"
"com.google.Chrome"
"md.obsidian.Obsidian" "md.obsidian.Obsidian"
"com.discordapp.DiscordCanary"
# "com.discordapp.Discord"
# "dev.vencord.Vesktop"
# "com.google.Chrome"
# "com.parsecgaming.parsec" # "com.parsecgaming.parsec"
"dev.vencord.Vesktop"
]; ];
uninstallUnmanaged = true; uninstallUnmanaged = true;
@ -497,7 +516,7 @@ rec {
overrides = { overrides = {
global = { global = {
# Force Wayland by default # Force Wayland by default
# Context.sockets = ["wayland" "!x11" "!fallback-x11"]; # NOTE: Makes discord crash Context.sockets = ["wayland" "!x11" "!fallback-x11"]; # NOTE: Makes discord crash
Context.filesystems = ["/nix/store:ro"]; Context.filesystems = ["/nix/store:ro"];