flake.nix: init
parent
0d58f8484e
commit
61a5d69f67
@ -0,0 +1,25 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1615991631,
|
||||
"narHash": "sha256-TEDPXYy9sVLyctW/OBqxhxlxPmvTwRqXBch0eexJm8Y=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f137bcd5c92906ae0f924769a95b8c8e6602f90b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
{
|
||||
description = "C3D2 Hydra projects";
|
||||
|
||||
outputs = { self, nixpkgs }: {
|
||||
packages.x86_64-linux = {
|
||||
jobsets =
|
||||
nixpkgs.legacyPackages.x86_64-linux.writeText "jobsets.json" (builtins.toJSON ({
|
||||
jobsets = {
|
||||
type = 1;
|
||||
enabled = 1;
|
||||
hidden = false;
|
||||
checkinterval = 300;
|
||||
schedulingshares = 100;
|
||||
enableemail = true;
|
||||
emailoverride = "";
|
||||
keepnr = 12;
|
||||
flake = "git+https://gitea.c3d2.de/C3D2/hydra-config.git";
|
||||
};
|
||||
#inherit (import ./jobsets.nix { pkgs = nixpkgs.legacyPackages.x86_64-linux; }) jobsets;
|
||||
}));
|
||||
};
|
||||
|
||||
checks = {};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue