forked from colonelpanic/dotfiles
[NixOS] Add nixConfig that tries to use ryzen-shine as extra binary cache
This commit is contained in:
parent
41b227bcb1
commit
4acd8fc50d
@ -161,6 +161,21 @@
|
|||||||
});
|
});
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
nixConfig = {
|
||||||
|
substituters = [
|
||||||
|
"https://cache.nixos.org/"
|
||||||
|
];
|
||||||
|
trusted-public-keys = [
|
||||||
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
|
];
|
||||||
|
extra-substituters = [
|
||||||
|
"http://1896Folsom.duckdns.org"
|
||||||
|
"http://192.168.1.26:5050"
|
||||||
|
];
|
||||||
|
extra-trusted-public-keys = [
|
||||||
|
"1896Folsom.duckdns.org:U2FTjvP95qwAJo0oGpvmUChJCgi5zQoG1YisoI08Qoo="
|
||||||
|
];
|
||||||
|
};
|
||||||
nixosConfigurations = builtins.mapAttrs (machineName: params:
|
nixosConfigurations = builtins.mapAttrs (machineName: params:
|
||||||
let machineParams =
|
let machineParams =
|
||||||
if builtins.hasAttr machineName customParams
|
if builtins.hasAttr machineName customParams
|
||||||
|
Loading…
Reference in New Issue
Block a user