Update to 23.11!!

This commit is contained in:
Natsu Kagami 2023-12-01 22:05:54 +01:00
parent fb9d120c37
commit 32c9474e7e
Signed by: nki
GPG key ID: 55A032EB38B49ADB
11 changed files with 29 additions and 55 deletions

View file

@ -53,10 +53,7 @@ in
(if pkgs.stdenv.isAarch64 then
pkgs.hello
else
logseq.override {
# https://github.com/electron/electron/issues/32760
electron = pkgs.electron_25;
})
logseq)
# (if stdenv.isAarch64 then zotero else pkgs.unstable.zotero) // kinda fucked for now from CVE
libreoffice
@ -72,19 +69,8 @@ in
]));
nki.programs.discord.enable = pkgs.stdenv.isx86_64;
nki.programs.discord.package = (pkgs.callPackage pkgs.unstable.vesktop.override {
electron = pkgs.electron_27;
nodePackages = pkgs.nodePackages // { nodejs = pkgs.nodejs; };
}).overrideAttrs (attrs: {
nki.programs.discord.package = pkgs.vesktop.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs ++ [ pkgs.nss_latest ];
postBuild = ''
pnpm build
# using `pnpm exec` here apparently makes it ignore ELECTRON_SKIP_BINARY_DOWNLOAD
./node_modules/.bin/electron-builder \
--dir \
-c.electronDist=${pkgs.electron_27}/lib/electron \
-c.electronVersion=${pkgs.electron_27.version}
'';
postInstall = ''
ln -s $out/bin/vencorddesktop $out/bin/discord
'';

View file

@ -2,7 +2,7 @@
let
notificationModule = { config, pkgs, lib, ... }:
let
swaync = pkgs.unstable.swaynotificationcenter;
swaync = pkgs.swaynotificationcenter;
in
with lib; mkIf (config.linux.graphical.type == "wayland") {
home.packages = [ swaync ];