]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Configuration modifications
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 24 Oct 2020 08:45:32 +0000 (10:45 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sat, 24 Oct 2020 08:45:32 +0000 (10:45 +0200)
.envrc
environments/immae-eu.nix
modules/private/monitoring/objects_tiboqorl-fr.nix
modules/private/system.nix
modules/private/system/eldiron.nix
modules/private/websites/default.nix
modules/private/websites/tools/git/mantisbt.nix

diff --git a/.envrc b/.envrc
index 8aa086a456f888e0fba86e46318620c55633b3b3..9741a311a705f709db85527186a5fd4af2dee4da 100644 (file)
--- a/.envrc
+++ b/.envrc
@@ -9,3 +9,5 @@ PATH_add $(expand_path nixops/scripts)
 
 use nix
 watch_file $(expand_path nix/sources.json)
+
+clean_nix_shell
index 4ceee824516cc86ce9ec2f9d89304af2dd893d15..4df42aa9e5404fe7ea4c9dbaadbc613fa5c27bbf 100644 (file)
@@ -11,7 +11,7 @@ let
     duply
 
     # calendar/contacts
-    abook khard khal cadaver vdirsyncer pal
+    abook khard khal cadaver vdirsyncerStable pal
 
     # computing
     boinctui
@@ -59,7 +59,7 @@ let
     # nagnu
 
     # messaging/forums/news
-    flrn slrn
+    #flrn slrn
     telegram-cli telegram-history-dump telegramircd
     weechat profanity
     newsboat irssi
index 97b7f7b8ba8598d0a5ae9508819a76c52fc48313..c3851b52a0994e72a14dd96603f1da3402bda70c 100644 (file)
@@ -7,6 +7,7 @@ let
     use = "external-passive-service";
     contact_groups = "tiboqorl";
     freshness_threshold = "450";
+    notification_interval = "240";
     retry_interval = "1";
     servicegroups = "webstatus-resources";
     host_name = hostFQDN;
index 6b4ef6e4e4ad75e0e925bb7da29e9433b6886e6c..6fc0ecd367ac9b38db05fa1cadcaf19fb418c4a8 100644 (file)
@@ -73,7 +73,7 @@
           ];
       };
 
-    users.mutableUsers = false;
+    users.mutableUsers = lib.mkDefault false;
 
     environment.etc.cnagios.source = "${pkgs.cnagios}/share/doc/cnagios";
     environment.systemPackages = [
index 04cfb76ad7b1723fba857802e48b357d66ed5287..15ddd40f56cdd550ac2689353a3a96f322120129 100644 (file)
 
   services.zfs = {
     autoScrub = {
-      enable = true;
+      enable = false;
     };
   };
   networking = {
     hostId = "8262ca33"; # generated with head -c4 /dev/urandom | od -A none -t x4
     firewall.enable = true;
-    # 176.9.151.89 declared in nixops -> infra / tools
+    # FIXME: on next reboot, remove the /27 and the localCommands
     interfaces."eth0".ipv4.addresses =
       pkgs.lib.attrsets.mapAttrsToList
         (n: ips: { address = ips.ip4; prefixLength = 32; })
index 90a8c1a837da6b91d69a5f2d49828b0c8d4dc616..ddfab9abb0332fc0794dd0dab3450fbfb8236541 100644 (file)
@@ -246,7 +246,7 @@ in
         production.enable = true;
       };
 
-      emilia.moodle.enable = true;
+      emilia.moodle.enable = false;
 
       florian = {
         app.enable = true;
index a74d76e8b5e8e08c83e07b0b0a3fa52d740573bd..9996d230140ab4b32e565d449af6ed03e6fcab52 100644 (file)
@@ -62,6 +62,7 @@ rec {
         </FilesMatch>
 
         AllowOverride All
+        SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
         Options FollowSymlinks
         Require all granted
       </Directory>