Files
nix/modules/nixos/nixpkgs.nix
2026-03-28 12:10:55 +02:00

31 lines
831 B
Nix

{ config, inputs, pkgs, builtins, ... }:
{
nixpkgs.config.allowUnfree = true;
nixpkgs.config.replaceStdenv = args: args.pkgs.stdenv;
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings = {
substituters = [
"https://hyprland.cachix.org"
"https://wrangler.cachix.org"
"https://nix-community.cachix.org"
];
trusted-substituters = [
"https://hyprland.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"wrangler.cachix.org-1:N/FIcG2qBQcolSpklb2IMDbsfjZKWg+ctxx0mSMXdSs="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}