mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
signal on Wayland
This commit is contained in:
parent
321f42c7a6
commit
9957e2fa2e
@ -7,15 +7,19 @@
|
||||
home.file."keepassxc" = {
|
||||
target = ".config/autostart/org.keepassxc.KeePassXC.desktop";
|
||||
source = (pkgs.keepassxc + "/share/applications/org.keepassxc.KeePassXC.desktop");
|
||||
};
|
||||
};
|
||||
# home.file."gnome-secrets" = {
|
||||
# target = ".config/autostart/org.gnome.World.Secrets.desktop";
|
||||
# source = (pkgs.gnome-secrets + "/share/applications/org.gnome.World.Secrets.desktop");
|
||||
# };
|
||||
|
||||
home.file."signal-desktop" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
|
||||
target = ".config/autostart/" + pkgs.signal-desktop.pname + ".desktop";
|
||||
source = (pkgs.signal-desktop + "/share/applications/" + pkgs.signal-desktop.pname + ".desktop");
|
||||
# home.file."signal-desktop" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
|
||||
# target = ".config/autostart/" + pkgs.signal-desktop.pname + ".desktop";
|
||||
# source = (pkgs.signal-desktop + "/share/applications/" + pkgs.signal-desktop.pname + ".desktop");
|
||||
# };
|
||||
home.file."signal-desktop-beta" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
|
||||
target = ".config/autostart/" + pkgs.signal-desktop-beta.pname + ".desktop";
|
||||
source = (pkgs.signal-desktop-beta + "/share/applications/" + pkgs.signal-desktop-beta.pname + ".desktop");
|
||||
};
|
||||
|
||||
home.file."thunderbird" = lib.mkIf (osConfig.networking.hostName == "yodaTux") {
|
||||
|
@ -27,25 +27,30 @@
|
||||
# https://github.com/stelcodes/nixos-config/commit/79071d30912c5b6c2560654925bcc98533cf758f
|
||||
# https://github.com/NixOS/nixpkgs/pull/222163
|
||||
# https://github.com/NixOS/nixpkgs/issues/261101
|
||||
# https://github.com/NixOS/nixpkgs/blob/898cb2064b6e98b8c5499f37e81adbdf2925f7c5/pkgs/applications/networking/instant-messengers/signal-desktop/generic.nix#L155
|
||||
|
||||
|
||||
|
||||
# Wayland support:
|
||||
# The following worked once ... But currently Signal crashes.
|
||||
# Temporary fix until the above TODO is resolved.
|
||||
#
|
||||
# The following worked multiple times with signal-desktop-beta
|
||||
# ... But sometimes it crashes on startup.
|
||||
# signal-desktop-beta --use-tray-icon --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
|
||||
# Temporary fix.
|
||||
#
|
||||
# https://github.com/NixOS/nixpkgs/issues/222043#issuecomment-1493457041
|
||||
# nixpkgs.overlays = [
|
||||
# (self: super: {
|
||||
# signal-desktop-beta = super.signal-desktop-beta.overrideAttrs (old: {
|
||||
# preFixup = old.preFixup + ''
|
||||
# gappsWrapperArgs+=(
|
||||
# --add-flags "--enable-features=UseOzonePlatform"
|
||||
# --add-flags "--ozone-platform=wayland"
|
||||
# )
|
||||
# '';
|
||||
# });
|
||||
# })
|
||||
# ];
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
signal-desktop-beta = super.signal-desktop-beta.overrideAttrs (old: {
|
||||
preFixup = old.preFixup + ''
|
||||
gappsWrapperArgs+=(
|
||||
--add-flags "--enable-features=UseOzonePlatform"
|
||||
--add-flags "--ozone-platform=wayland"
|
||||
)
|
||||
'';
|
||||
});
|
||||
})
|
||||
];
|
||||
# nixpkgs.overlays = [
|
||||
# (self: super: {
|
||||
# unstable.signal-desktop-beta = super.unstable.signal-desktop-beta.overrideAttrs (old: {
|
||||
|
Loading…
Reference in New Issue
Block a user