Create NixOS 14.12 channel
Eelco Dolstra committed
Dec 9, 2014 at 11:55 UTC
5cea0e615276cbd44dcb911994c78a328ccfc342
1 file changed
+26
-14
delft/lucifer.nix
+26
-14
@@ -165,45 +165,57 @@
165
serviceConfig.CPUShares = 100;
166
};
167
168
- /*
169
- systemd.services.mirror-nixos-13-10 =
170
- { description = "Mirror NixOS 13.10";
168
+ systemd.services.mirror-nixos-14-04 =
169
+ { description = "Mirror NixOS 14.04";
170
wantedBy = [ "multi-user.target" ];
171
after = [ "networking.target" ];
172
path = [ pkgs.su ];
173
script =
174
''
176
- rm -rf /data/releases/nixos/13.10/.tmp-*
177
- exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-branch.sh 13.10 release-13.10; sleep 1200; done'
175
+ rm -rf /data/releases/nixos/14.04/.tmp-*
176
+ exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-stable.sh 14.04; sleep 1200; done'
177
'';
178
serviceConfig.Restart = "always";
179
serviceConfig.CPUShares = 100;
180
};
182
- */
181
184
- systemd.services.mirror-nixos-14-04 =
185
- { description = "Mirror NixOS 14.04";
182
+ systemd.services.mirror-nixos-14-04-small =
183
+ { description = "Mirror NixOS 14.04-small";
184
wantedBy = [ "multi-user.target" ];
185
after = [ "networking.target" ];
186
path = [ pkgs.su ];
187
script =
188
''
191
- rm -rf /data/releases/nixos/14.04/.tmp-*
192
- exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-stable.sh 14.04; sleep 1200; done'
189
+ rm -rf /data/releases/nixos/14.04-small/.tmp-*
190
+ exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-branch.sh 14.04-small release-14.04-small; sleep 900; done'
191
'';
192
serviceConfig.Restart = "always";
193
serviceConfig.CPUShares = 100;
194
};
195
198
- systemd.services.mirror-nixos-14-04-small =
199
- { description = "Mirror NixOS 14.04-small";
196
+ systemd.services.mirror-nixos-14-12 =
197
+ { description = "Mirror NixOS 14.12";
198
wantedBy = [ "multi-user.target" ];
199
after = [ "networking.target" ];
200
path = [ pkgs.su ];
201
script =
202
''
205
- rm -rf /data/releases/nixos/14.04-small/.tmp-*
206
- exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-branch.sh 14.04-small release-14.04-small; sleep 900; done'
203
+ rm -rf /data/releases/nixos/14.12/.tmp-*
204
+ exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-stable.sh 14.12; sleep 1200; done'
205
+ '';
206
+ serviceConfig.Restart = "always";
207
+ serviceConfig.CPUShares = 100;
208
+ };
209
+
210
+ systemd.services.mirror-nixos-14-12-small =
211
+ { description = "Mirror NixOS 14.12-small";
212
+ wantedBy = [ "multi-user.target" ];
213
+ after = [ "networking.target" ];
214
+ path = [ pkgs.su ];
215
+ script =
216
+ ''
217
+ rm -rf /data/releases/nixos/14.12-small/.tmp-*
218
+ exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-branch.sh 14.12-small release-14.12-small; sleep 900; done'
219
'';
220
serviceConfig.Restart = "always";
221
serviceConfig.CPUShares = 100;