Skip to content

Commit 726c8dd

Browse files
authored
simplify nix.conf options (#344)
1 parent 74b3013 commit 726c8dd

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

profiles/base.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,15 @@ in
4141
dates = "weekly";
4242
};
4343
settings = {
44-
# makes devenv shells build significantly faster
45-
trusted-substituters = [
46-
"https://devenv.cachix.org"
44+
substituters = [
45+
"https://devenv.cachix.org" # makes devenv shells build significantly faster
4746
"https://cache.ocf.berkeley.edu"
4847
];
4948
trusted-public-keys = [
5049
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
5150
"cache.ocf.berkeley.edu-1:6n9lihkjExzagz8GYR1QY/ZthT/XAKOy+ju5Jxd6wBg="
5251
];
5352
};
54-
extraOptions = ''
55-
extra-substituters = https://devenv.cachix.org https://cache.ocf.berkeley.edu
56-
extra-trusted-public-keys = devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= cache.ocf.berkeley.edu-1:6n9lihkjExzagz8GYR1QY/ZthT/XAKOy+ju5Jxd6wBg=
57-
'';
5853
};
5954

6055
nixpkgs.flake.setNixPath = true;

0 commit comments

Comments
 (0)