X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Feldiron.nix;h=8dc8c4d8273a8e09e624fc26e64d51f403f9a460;hb=3de01f9b82ba8f80b2043f5c885ddca784d6701f;hp=cad4e7545fcfd12d3bf6ddb7b256a817951025d3;hpb=9d8d1425de8a3ff6c1a275e74667c6fdaf9fa626;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/eldiron.nix b/nixops/eldiron.nix index cad4e75..8dc8c4d 100644 --- a/nixops/eldiron.nix +++ b/nixops/eldiron.nix @@ -10,6 +10,7 @@ { _module.args = { mylibs = import ../libs.nix; + mypkgs = import ../default.nix; myconfig = { env = import environment; ips = { @@ -24,6 +25,7 @@ ./modules/certificates.nix ./modules/gitolite ./modules/databases + ./modules/mpd ./modules/websites ./modules/mail ./modules/ftp @@ -35,6 +37,10 @@ services.myWebsites.tools.enable = true; services.pure-ftpd.enable = true; + services.journald.extraConfig = '' + MaxLevelStore="warning" + MaxRetentionSec="1year" + ''; networking = { firewall = { enable = true; @@ -101,5 +107,11 @@ '' ]; }; + + # This value determines the NixOS release with which your system is + # to be compatible, in order to avoid breaking some software such as + # database servers. You should change this only after NixOS release + # notes say you should. + system.stateVersion = "18.09"; # Did you read the comment? }; }