25 lines
588 B
Nix
25 lines
588 B
Nix
{ lib, ... }:
|
|
let
|
|
user = "matt";
|
|
in
|
|
{
|
|
nix = {
|
|
settings = {
|
|
substituters = [
|
|
# "https://cache.mjallen.dev"
|
|
"https://nix-community.cachix.org"
|
|
"https://cache.nixos.org/"
|
|
];
|
|
trusted-public-keys = [
|
|
# "cache.mjallen.dev-1:IzFmKCd8/gggI6lcCXsW65qQwiCLGFFN9t9s2iw7Lvc="
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
];
|
|
warn-dirty = lib.mkForce false;
|
|
experimental-features = lib.mkForce [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
trusted-users = [ user ];
|
|
};
|
|
};
|
|
} |