nixsgx for everyone
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
eafb5c1455
commit
94d0ada223
5 changed files with 5 additions and 6 deletions
|
@ -48,6 +48,9 @@ in
|
|||
let
|
||||
users = [ "root" config.plusultra.user.name ] ++
|
||||
optional config.services.hydra.enable "hydra";
|
||||
extra-substituters = cfg.extra-substituters // {
|
||||
"https://nixsgx.cachix.org".key = "nixsgx.cachix.org-1:tGi36DlY2joNsIXOlGnSgWW0+E094V6hW0umQRo/KoE=";
|
||||
};
|
||||
in
|
||||
{
|
||||
package = cfg.package;
|
||||
|
@ -65,11 +68,11 @@ in
|
|||
substituters =
|
||||
[ cfg.default-substituter.url ]
|
||||
++
|
||||
(mapAttrsToList (name: value: name) cfg.extra-substituters);
|
||||
(mapAttrsToList (name: value: name) extra-substituters);
|
||||
trusted-public-keys =
|
||||
[ cfg.default-substituter.key ]
|
||||
++
|
||||
(mapAttrsToList (name: value: value.key) cfg.extra-substituters);
|
||||
(mapAttrsToList (name: value: value.key) extra-substituters);
|
||||
|
||||
} // (lib.optionalAttrs config.plusultra.tools.direnv.enable {
|
||||
keep-outputs = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue