Use stable chromium for vesktop
This commit is contained in:
parent
693d4e3c70
commit
e214c4eb70
2 changed files with 7 additions and 3 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
mod,
|
mod,
|
||||||
pkgs,
|
pkgs,
|
||||||
root,
|
root,
|
||||||
|
alternativePkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
xdg = {
|
xdg = {
|
||||||
|
|
@ -22,7 +23,7 @@
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs root additionalInputs;
|
inherit inputs root additionalInputs alternativePkgs;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.${config.conf.username} = {
|
users.${config.conf.username} = {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,10 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
# TODO remove when chromium works again
|
||||||
|
fixedVesktop = pkgs.vesktop.override {electron = pkgs.electron_33;};
|
||||||
|
in {
|
||||||
options.mods.homePackages = {
|
options.mods.homePackages = {
|
||||||
useDefaultPackages = lib.mkOption {
|
useDefaultPackages = lib.mkOption {
|
||||||
default = true;
|
default = true;
|
||||||
|
|
@ -88,7 +91,7 @@
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
(lib.mkIf config.mods.homePackages.ncspot ncspot)
|
(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 config.mods.homePackages.nextcloudClient nextcloud-client)
|
||||||
(lib.mkIf (!isNull config.mods.homePackages.matrixClient) config.mods.homePackages.matrixClient)
|
(lib.mkIf (!isNull config.mods.homePackages.matrixClient) config.mods.homePackages.matrixClient)
|
||||||
(lib.mkIf (!isNull config.mods.homePackages.mailClient) config.mods.homePackages.mailClient)
|
(lib.mkIf (!isNull config.mods.homePackages.mailClient) config.mods.homePackages.mailClient)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue