1{lib, ...}: {
2 options = {
3 mySnippets.nix.settings = lib.mkOption {
4 type = lib.types.attrs;
5 description = "Default nix settings shared across machines.";
6
7 default = {
8 builders-use-substitutes = true;
9
10 experimental-features = [
11 "ca-derivations"
12 "fetch-closure"
13 "flakes"
14 "nix-command"
15 "recursive-nix"
16 ];
17
18 substituters = [
19 "https://cache.nixos.org/"
20 ];
21
22 trusted-public-keys = [
23 ];
24
25 trusted-users = ["@admin" "@wheel" "nixbuild"];
26 };
27 };
28 };
29}