mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
31 lines
670 B
Nix
31 lines
670 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix.settings = {
|
|
trusted-users = [
|
|
"root"
|
|
"@wheel"
|
|
config.fireproof.username
|
|
];
|
|
|
|
experimental-features = ["nix-command" "flakes"];
|
|
warn-dirty = false;
|
|
|
|
substituters = [
|
|
"https://nix-community.cachix.org"
|
|
"https://install.determinate.systems"
|
|
];
|
|
|
|
trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM="
|
|
];
|
|
};
|
|
|
|
# Make 'nix repl' have all the nixpkgs available
|
|
environment.systemPackages = [pkgs.nixpkgs-fmt];
|
|
}
|