aboutsummaryrefslogtreecommitdiff
path: root/nixops/eldiron.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixops/eldiron.nix')
-rw-r--r--nixops/eldiron.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixops/eldiron.nix b/nixops/eldiron.nix
index 2893335..ecc65cc 100644
--- a/nixops/eldiron.nix
+++ b/nixops/eldiron.nix
@@ -1,3 +1,4 @@
1{ environment ? ./environment.nix }:
1{ 2{
2 network = { 3 network = {
3 description = "Immae's network"; 4 description = "Immae's network";
@@ -10,7 +11,7 @@
10 _module.args = { 11 _module.args = {
11 mylibs = import ../libs.nix; 12 mylibs = import ../libs.nix;
12 myconfig = { 13 myconfig = {
13 env = import ./environment.nix; 14 env = import environment;
14 ips = { 15 ips = {
15 main = "176.9.151.89"; 16 main = "176.9.151.89";
16 production = "176.9.151.154"; 17 production = "176.9.151.154";
@@ -93,6 +94,8 @@
93 94
94 services.cron = { 95 services.cron = {
95 enable = true; 96 enable = true;
97 # Doesn't work, need to be a user
98 mailto = "cron+eldiron@immae.eu";
96 systemCronJobs = [ 99 systemCronJobs = [
97 '' 100 ''
98 # The star after /var/lib/* avoids deleting all folders in case of problem 101 # The star after /var/lib/* avoids deleting all folders in case of problem