Use stable chromium for vesktop

This commit is contained in:
DashieTM 2025-02-15 23:55:33 +01:00
parent 693d4e3c70
commit e214c4eb70
2 changed files with 7 additions and 3 deletions

View file

@ -9,6 +9,7 @@
mod,
pkgs,
root,
alternativePkgs,
...
}: {
xdg = {
@ -22,7 +23,7 @@
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit inputs root additionalInputs;
inherit inputs root additionalInputs alternativePkgs;
};
users.${config.conf.username} = {

View file

@ -5,7 +5,10 @@
pkgs,
inputs,
...
}: {
}: let
# TODO remove when chromium works again
fixedVesktop = pkgs.vesktop.override {electron = pkgs.electron_33;};
in {
options.mods.homePackages = {
useDefaultPackages = lib.mkOption {
default = true;
@ -88,7 +91,7 @@
with pkgs;
[
(lib.mkIf config.mods.homePackages.ncspot ncspot)
(lib.mkIf config.mods.homePackages.vesktop vesktop)
(lib.mkIf config.mods.homePackages.vesktop fixedVesktop)
(lib.mkIf config.mods.homePackages.nextcloudClient nextcloud-client)
(lib.mkIf (!isNull config.mods.homePackages.matrixClient) config.mods.homePackages.matrixClient)
(lib.mkIf (!isNull config.mods.homePackages.mailClient) config.mods.homePackages.mailClient)