[Asahi] Use electron 32 for webcord to make screen sharing work.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-06-11 00:17:38 -07:00
parent 32d11af846
commit 8e037d6287
3 changed files with 26 additions and 1 deletions

17
flake.lock generated
View file

@ -236,6 +236,22 @@
"type": "github"
}
},
"nixpkgs-electron-32": {
"locked": {
"lastModified": 1729595756,
"narHash": "sha256-rNaLWDqjgy23Y6M3K/e7Kiyimq04ikDMrErpqgXWcV0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "782740762fb281404740b6b7084d356c3dab1173",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "782740762fb281404740b6b7084d356c3dab1173",
"type": "github"
}
},
"nixpkgs-msft-go": {
"locked": {
"lastModified": 1725980463,
@ -358,6 +374,7 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
"nixpkgs-darwin": "nixpkgs-darwin",
"nixpkgs-electron-32": "nixpkgs-electron-32",
"nixpkgs-msft-go": "nixpkgs-msft-go",
"nixpkgs-unstable": "nixpkgs-unstable_2",
"sops-nix": "sops-nix",

View file

@ -8,6 +8,9 @@
nix-darwin.url = "github:LnL7/nix-darwin/nix-darwin-25.05";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs-darwin";
# Required for webcord.
nixpkgs-electron-32.url = "github:NixOS/nixpkgs/782740762fb281404740b6b7084d356c3dab1173";
# required to match on a specific version of Go for AKS dev setup.
nixpkgs-msft-go.url = "github:NixOS/nixpkgs/5ed627539ac84809c78b2dd6d26a5cebeb5ae269";

View file

@ -37,6 +37,7 @@ in
packages = with pkgs; [
# Audio
wireplumber
spotify-player
# Screen management
brightnessctl
# Secret management.
@ -45,7 +46,7 @@ in
# Browsers
ungoogled-chromium
# Coms
webcord
(webcord.override { electron = inputs.nixpkgs-electron-32.legacyPackages."aarch64-linux".electron; })
whatsie
];
@ -79,6 +80,10 @@ in
package = pkgs.palenight-theme;
};
};
qt = {
enable = true;
platformTheme = "gtk";
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";