Generate the NixOS 15.09 channels
Eelco Dolstra committed
Aug 27, 2015 at 11:52 UTC
c82908d7a9f5d73801dc8c84693927a9d9ccb49e
1 file changed
+16
-16
delft/hydra-mirror.nix
+16
-16
@@ -73,57 +73,57 @@
73
serviceConfig.CPUShares = 100;
74
};
75
76
- systemd.services.mirror-nixos-14-04 =
77
- { description = "Mirror NixOS 14.04";
76
+ systemd.services.mirror-nixos-14-12 =
77
+ { description = "Mirror NixOS 14.12";
78
wantedBy = [ "multi-user.target" ];
79
after = [ "networking.target" ];
80
path = [ pkgs.su ];
81
script =
82
''
83
- rm -rf /data/releases/nixos/14.04/.tmp-*
84
- exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-branch.sh 14.04 release-14.04; sleep 1200; done'
83
+ rm -rf /data/releases/nixos/14.12/.tmp-*
84
+ exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-stable.sh 14.12; sleep 1200; done'
85
'';
86
serviceConfig.Restart = "always";
87
serviceConfig.CPUShares = 100;
88
};
89
90
- systemd.services.mirror-nixos-14-04-small =
91
- { description = "Mirror NixOS 14.04-small";
90
+ systemd.services.mirror-nixos-14-12-small =
91
+ { description = "Mirror NixOS 14.12-small";
92
wantedBy = [ "multi-user.target" ];
93
after = [ "networking.target" ];
94
path = [ pkgs.su ];
95
script =
96
''
97
- rm -rf /data/releases/nixos/14.04-small/.tmp-*
98
- exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-branch.sh 14.04-small release-14.04-small; sleep 900; done'
97
+ rm -rf /data/releases/nixos/14.12-small/.tmp-*
98
+ exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-branch.sh 14.12-small release-14.12-small; sleep 900; done'
99
'';
100
serviceConfig.Restart = "always";
101
serviceConfig.CPUShares = 100;
102
};
103
104
- systemd.services.mirror-nixos-14-12 =
105
- { description = "Mirror NixOS 14.12";
104
+ systemd.services.mirror-nixos-15-09 =
105
+ { description = "Mirror NixOS 15.09";
106
wantedBy = [ "multi-user.target" ];
107
after = [ "networking.target" ];
108
path = [ pkgs.su ];
109
script =
110
''
111
- rm -rf /data/releases/nixos/14.12/.tmp-*
112
- exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-stable.sh 14.12; sleep 1200; done'
111
+ rm -rf /data/releases/nixos/15.09/.tmp-*
112
+ exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-stable.sh 15.09; sleep 1200; done'
113
'';
114
serviceConfig.Restart = "always";
115
serviceConfig.CPUShares = 100;
116
};
117
118
- systemd.services.mirror-nixos-14-12-small =
119
- { description = "Mirror NixOS 14.12-small";
118
+ systemd.services.mirror-nixos-15-09-small =
119
+ { description = "Mirror NixOS 15.09-small";
120
wantedBy = [ "multi-user.target" ];
121
after = [ "networking.target" ];
122
path = [ pkgs.su ];
123
script =
124
''
125
- rm -rf /data/releases/nixos/14.12-small/.tmp-*
126
- exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-branch.sh 14.12-small release-14.12-small; sleep 900; done'
125
+ rm -rf /data/releases/nixos/15.09-small/.tmp-*
126
+ exec su - hydra-mirror -c 'cd nixos-channel-scripts; while true; do ./mirror-nixos-branch.sh 15.09-small release-15.09-small; sleep 900; done'
127
'';
128
serviceConfig.Restart = "always";
129
serviceConfig.CPUShares = 100;