Files
nix/modules/nixos/nixpkgs.nix
2025-10-04 23:14:36 +03:00

33 lines
910 B
Nix

{ config, inputs, pkgs, builtins, ... }:
{
nixpkgs.config.allowUnfree = true;
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://ghostty.cachix.org"
"https://wrangler.cachix.org"
"https://nix-community.cachix.org"
];
trusted-substituters = [
"https://hyprland.cachix.org"
"https://ghostty.cachix.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"ghostty.cachix.org-1:QB389yTa6gTyneehvqG58y0WnHjQOqgnA+wBnpWWxns="
"wrangler.cachix.org-1:N/FIcG2qBQcolSpklb2IMDbsfjZKWg+ctxx0mSMXdSs="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}