Commit e46a46 update spec

1 file Authored and Committed by Richard Marko a year ago
update spec

    
 1 @@ -0,0 +1,31 @@
 2 + 
 3 + { pkgs }:
 4 + 
 5 + rec {
 6 +   globalDefaults = {
 7 +     enabled = 1;
 8 +     hidden = false;
 9 +     keepnr = 10;
10 +     schedulingshares = 100;
11 +     checkinterval = 3600;
12 +     enableemail = false;
13 +     emailoverride = "";
14 +   };
15 +   mkJobset = { enabled ? 1, hidden ? false, description ? "", nixexprinput, nixexprpath, checkinterval ? 5 * minutes, schedulingshares ? 100, enableemail ? false, emailoverride ? false, keepnr ? 10, inputs }@args: {
16 +     enabled = 1;
17 +     hidden = false;
18 +     emailoverride = "";
19 +     enableemail = false;
20 +     checkinterval = 5 * minutes;
21 +     schedulingshares = 100;
22 +     keepnr = 10;
23 +   } // args;
24 +   mkFetchGithub = value: {
25 +     inherit value;
26 +     type = "git";
27 +     emailresponsible = false;
28 +   };
29 +   minutes = 60;
30 +   hours = 60 * minutes;
31 +   days = 24 * hours;
32 + }