Format the entire project.
This commit is contained in:
parent
1dc50ae17d
commit
6f9db5e3a4
115 changed files with 3451 additions and 2901 deletions
|
@ -1,6 +1,12 @@
|
|||
{ nixpkgs, nixpkgs-git, nixpkgs-stable, pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
nixpkgs,
|
||||
nixpkgs-git,
|
||||
nixpkgs-stable,
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.machine;
|
||||
emptyGlobalRegistry = pkgs.writeText "registry.json" ''{ "flakes": [], "version": 2 }'';
|
||||
in {
|
||||
|
@ -16,15 +22,19 @@ in {
|
|||
cores = 1;
|
||||
sandbox = true;
|
||||
auto-optimise-store = true;
|
||||
trusted-substituters = [
|
||||
"https://cache.nixos.org"
|
||||
] ++ cfg.binaryCaches;
|
||||
trusted-substituters =
|
||||
[
|
||||
"https://cache.nixos.org"
|
||||
]
|
||||
++ cfg.binaryCaches;
|
||||
# TODO: integrate into sops
|
||||
# trusted-public-keys = [ (lib.fileContents "${cfg.secretPath}/hydra_cache.pub") ];
|
||||
substituters = [
|
||||
"https://cache.nixos.org"
|
||||
] ++ cfg.binaryCaches;
|
||||
allowed-users = [ "root" ] ++ (map (n: n.name) cfg.administrators);
|
||||
substituters =
|
||||
[
|
||||
"https://cache.nixos.org"
|
||||
]
|
||||
++ cfg.binaryCaches;
|
||||
allowed-users = ["root"] ++ (map (n: n.name) cfg.administrators);
|
||||
};
|
||||
extraOptions = ''
|
||||
build-timeout = 86400 # 24 hours
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue