adding modularity

This commit is contained in:
2024-08-28 00:18:47 +02:00
parent 166bed403e
commit 230144c3b9
15 changed files with 417 additions and 131 deletions

22
utils/binary-cache.nix Normal file
View File

@@ -0,0 +1,22 @@
{
lib,
...
}: {
# ...
nix.settings = {
# allow substituters to be used
substituters = [
# also add mirrors?
# "https://mirrors.ustc.edu.cn/nix-channels/store"
"https://cache.nixos.org"
];
trusted-public-keys = [
# the default public key of cache.nixos.org, it's built-in, no need to add it here
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
];
};
}