added nix-ld to work with binaries for generic-linux

This commit is contained in:
Semere Meharena Mebrahtom 2026-08-03 09:26:37 +02:00
parent da60d3cb78
commit b664db4a0a
No known key found for this signature in database
3 changed files with 33 additions and 7 deletions

View file

@ -14,6 +14,32 @@
jack.enable = true;
};
# to run binaries targeting generic linux
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
stdenv.cc.cc
zlib
openssl
glib
fontconfig
freetype
libX11
libXext
libXi
libXrender
libXrandr
libXtst
libXcursor
libXfixes
libXinerama
gtk3
cairo
pango
atk
dbus
];
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
noto-fonts-color-emoji

View file

@ -10,7 +10,7 @@
environment.systemPackages = with pkgs; [
gnupg
pass
# pinentry-gnome3
pinentry-gnome3
];
home-manager.users."${userVars.username}" = {
@ -21,7 +21,7 @@
maxCacheTtl = 28800;
maxCacheTtlSsh = 28800;
enableSshSupport = false;
# pinentry.package = pkgs.pinentry-gnome3;
pinentry.package = pkgs.pinentry-gnome3;
};
};
}

View file

@ -24,11 +24,11 @@
installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/decentraleyes/latest.xpi";
};
# Vimium
"{d7742d87-e61d-4b78-b8a1-b469842139fa}" = {
installation_mode = "force_installed";
install_url = "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi";
};
# # Vimium
# "{d7742d87-e61d-4b78-b8a1-b469842139fa}" = {
# installation_mode = "force_installed";
# install_url = "https://addons.mozilla.org/firefox/downloads/latest/vimium-ff/latest.xpi";
# };
# KeePassXC-Browser
"keepassxc-browser@keepassxc.org" = {
installation_mode = "force_installed";