Added more binary caches for faster build times. And configured Sleepy Launcher for Zenless Zone Zero

This commit is contained in:
2026-05-16 21:49:56 +02:00
parent 0eaf7a718f
commit 9a3e50be1f
6 changed files with 101 additions and 2 deletions

View File

@ -31,6 +31,7 @@
inputs.home-manager.nixosModules.home-manager
inputs.grub2-themes.nixosModules.default
inputs.nix-flatpak.nixosModules.nix-flatpak
inputs.aagl.nixosModules.default
./hardware-configuration.nix
./firefox
@ -237,8 +238,28 @@
ssh.askPassword = lib.mkForce "${pkgs.kdePackages.ksshaskpass}/bin/ksshaskpass";
sleepy-launcher.enable = true; #Zenless zone zero launcher
#In order for dynamically linked executables to work
nix-ld.enable = true;
nix-ld = {
enable = true;
#To ensure that the neccesary libraries are included in the wrapper
libraries = with pkgs; [
wayland
libadwaita
gtk4
gtk3
glib
gdk-pixbuf
pango
cairo
libGL
openssl
dbus
fontconfig
freetype
];
};
};
# Configure console keymap
@ -354,7 +375,16 @@
};
#Allow Nix Commands
nix.settings.experimental-features = ["nix-command" "flakes"];
nix.settings = {
experimental-features = ["nix-command" "flakes"];
max-substitution-jobs = 32;
http-connections = 50;
#Both needed for sleepy-launcher to work
extra-substituters = ["https://ezkea.cachix.org" "https://nix-community.cachix.org"];
extra-trusted-public-keys = ["ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;