nixos/modules/base/nix.nix

25 lines
635 B
Nix
Raw Normal View History

2025-12-13 21:41:52 +01:00
{config, ...}: {
nixpkgs.config.allowUnfree = true;
2025-02-24 09:56:16 +01:00
nix.settings = {
2025-12-12 04:17:02 +01:00
trusted-users = [
"root"
"@wheel"
2025-12-13 21:41:52 +01:00
config.fireproof.username
2025-12-12 04:17:02 +01:00
];
2025-02-24 09:56:16 +01:00
experimental-features = "nix-command flakes";
substituters = [
"https://hyprland.cachix.org"
"https://nix-community.cachix.org"
2025-12-13 21:09:32 +01:00
"https://install.determinate.systems"
2025-02-24 09:56:16 +01:00
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
2025-12-13 21:09:32 +01:00
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
2025-02-24 09:56:16 +01:00
];
};
2025-01-31 15:13:22 +01:00
}