feat(nixos): pin nixpkgs registry to nixpkgs flake input

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-03-06 00:08:01 -03:00
parent 30f16ba385
commit ad62e04c78
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -1,4 +1,4 @@
{ ... }: { nixpkgs, ... }:
{ {
# Enable experimental features # Enable experimental features
@ -29,6 +29,11 @@
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
]; ];
# Pin the nix registry
nix.registry = {
nixpkgs.flake = nixpkgs;
};
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
} }