nixos/modules/base/nix.nix
2025-12-13 21:41:52 +01:00

24 lines
635 B
Nix

{config, ...}: {
nixpkgs.config.allowUnfree = true;
nix.settings = {
trusted-users = [
"root"
"@wheel"
config.fireproof.username
];
experimental-features = "nix-command flakes";
substituters = [
"https://hyprland.cachix.org"
"https://nix-community.cachix.org"
"https://install.determinate.systems"
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
];
};
}