From ede5d9f70aa50f57adffa4130c817cab69968f16 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 24 Jan 2019 09:53:39 +0100 Subject: [PATCH 1/4] personnalisation Gitea --- systems/LoutreOS/services.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 63081a1..711f83c 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -349,6 +349,14 @@ in port = 5432; passwordFile = "/mnt/secrets/gitea_database_passwordFile"; }; + log.level = "Warn"; + extraConfig = '' + [ui] + DEFAULT_THEME = arc-green + + [service] + DISABLE_REGISTRATION = true + ''; }; site-musique = { From e041e07fd913d52c52a7ddd45e6066ad55c984d1 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 24 Jan 2019 09:52:58 +0100 Subject: [PATCH 2/4] changement mot de passe --- services/haproxy-acme.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/haproxy-acme.nix b/services/haproxy-acme.nix index b16cf76..e472723 100644 --- a/services/haproxy-acme.nix +++ b/services/haproxy-acme.nix @@ -24,7 +24,7 @@ let timeout connect 4s timeout server 30s userlist LOUTRE - user paul password $6$6rDdCtzSVsAwB6KP$V8bR7KP7FSL2BSEh6n3op6iYhAnsVSPI2Ar3H6MwKrJ/lZRzUI8a0TwVBD2JPnAntUhLpmRudrvdq2Ls2odAy. + user paul password $6$YNjCpiPABu9$.iEp.3BgoswHcX3SMjz1/CiyqFQn/fjnxtT9CWBqQHBKynvK2kh/i62ije0WmCvhKRUhy9gdVbJStM3ciGXnC1 frontend public bind :::80 v4v6 bind :::443 v4v6 ssl crt /var/lib/acme/${cfg.domaine}/full.pem alpn h2,http/1.1 From 745b342aabb20bb68033099ccf92ea2cc3264779 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 24 Jan 2019 09:53:21 +0100 Subject: [PATCH 3/4] installation airsonic --- systems/LoutreOS/services.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 711f83c..7f9744e 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -10,6 +10,7 @@ let max_port = 52348; musique_port = 52349; factorio_port = 52351; + airsonic_port = 4040; in { @@ -62,6 +63,7 @@ in "gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; }; "ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; auth = false; }; "factorio.${domaine}" = { ip = "127.0.0.1"; port = factorio_port; auth = false; }; + "airsonic.${domaine}" = { ip = "127.0.0.1"; port = airsonic_port; auth = false; }; }; }; @@ -384,6 +386,9 @@ in public = true; username = "nyanloutre"; }; + + airsonic.enable = true; + airsonic.maxMemory = 500; }; systemd.services.dogetipbot-telegram = { From 8c79c29b5de9848edbcf9ad584873693834c655e Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 24 Jan 2019 09:52:40 +0100 Subject: [PATCH 4/4] simplification build dogetipbot --- overlays/dogetipbot-telegram.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlays/dogetipbot-telegram.nix b/overlays/dogetipbot-telegram.nix index c3462a5..162b5f5 100644 --- a/overlays/dogetipbot-telegram.nix +++ b/overlays/dogetipbot-telegram.nix @@ -3,7 +3,7 @@ self: super: { dogetipbot-telegram = super.callPackage (super.fetchgit { url = "https://gitlab.com/nyanloutre/dogetipbot-telegram.git"; - rev = "33e5a2273cc1e447dec9a37676913915706fd332"; - sha256 = "1rzv5qd7bj1dzx5qa2h4mdzzvxk77hz3svfcg7hq0sff8a7npk46"; + rev = "a63408de18d447983d65a51f176c35e434327517"; + sha256 = "12y7yd114cz64blgnyljpnnqbycsp0f1ljzaiqq05a5xa4pjvwyf"; }) { pkgs = self; }; }