Skip to content

Commit

Permalink
Use stable chromium for vesktop
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Feb 15, 2025
1 parent 693d4e3 commit e214c4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
mod,
pkgs,
root,
alternativePkgs,
...
}: {
xdg = {
Expand All @@ -22,7 +23,7 @@
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit inputs root additionalInputs;
inherit inputs root additionalInputs alternativePkgs;
};

users.${config.conf.username} = {
Expand Down
7 changes: 5 additions & 2 deletions modules/programs/homePackages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e214c4e

Please sign in to comment.