Compare commits

...

4 Commits

Author SHA1 Message Date
8c79c29b5d simplification build dogetipbot 2019-01-24 09:54:10 +01:00
745b342aab installation airsonic 2019-01-24 09:54:10 +01:00
e041e07fd9 changement mot de passe 2019-01-24 09:54:10 +01:00
ede5d9f70a personnalisation Gitea 2019-01-24 09:54:10 +01:00
3 changed files with 16 additions and 3 deletions

View File

@ -3,7 +3,7 @@ self: super:
{ {
dogetipbot-telegram = super.callPackage (super.fetchgit { dogetipbot-telegram = super.callPackage (super.fetchgit {
url = "https://gitlab.com/nyanloutre/dogetipbot-telegram.git"; url = "https://gitlab.com/nyanloutre/dogetipbot-telegram.git";
rev = "33e5a2273cc1e447dec9a37676913915706fd332"; rev = "a63408de18d447983d65a51f176c35e434327517";
sha256 = "1rzv5qd7bj1dzx5qa2h4mdzzvxk77hz3svfcg7hq0sff8a7npk46"; sha256 = "12y7yd114cz64blgnyljpnnqbycsp0f1ljzaiqq05a5xa4pjvwyf";
}) { pkgs = self; }; }) { pkgs = self; };
} }

View File

@ -24,7 +24,7 @@ let
timeout connect 4s timeout connect 4s
timeout server 30s timeout server 30s
userlist LOUTRE userlist LOUTRE
user paul password $6$6rDdCtzSVsAwB6KP$V8bR7KP7FSL2BSEh6n3op6iYhAnsVSPI2Ar3H6MwKrJ/lZRzUI8a0TwVBD2JPnAntUhLpmRudrvdq2Ls2odAy. user paul password $6$YNjCpiPABu9$.iEp.3BgoswHcX3SMjz1/CiyqFQn/fjnxtT9CWBqQHBKynvK2kh/i62ije0WmCvhKRUhy9gdVbJStM3ciGXnC1
frontend public frontend public
bind :::80 v4v6 bind :::80 v4v6
bind :::443 v4v6 ssl crt /var/lib/acme/${cfg.domaine}/full.pem alpn h2,http/1.1 bind :::443 v4v6 ssl crt /var/lib/acme/${cfg.domaine}/full.pem alpn h2,http/1.1

View File

@ -10,6 +10,7 @@ let
max_port = 52348; max_port = 52348;
musique_port = 52349; musique_port = 52349;
factorio_port = 52351; factorio_port = 52351;
airsonic_port = 4040;
in in
{ {
@ -62,6 +63,7 @@ in
"gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; }; "gitea.${domaine}" = { ip = "127.0.0.1"; port = 3001; auth = false; };
"ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; 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; }; "factorio.${domaine}" = { ip = "127.0.0.1"; port = factorio_port; auth = false; };
"airsonic.${domaine}" = { ip = "127.0.0.1"; port = airsonic_port; auth = false; };
}; };
}; };
@ -349,6 +351,14 @@ in
port = 5432; port = 5432;
passwordFile = "/mnt/secrets/gitea_database_passwordFile"; passwordFile = "/mnt/secrets/gitea_database_passwordFile";
}; };
log.level = "Warn";
extraConfig = ''
[ui]
DEFAULT_THEME = arc-green
[service]
DISABLE_REGISTRATION = true
'';
}; };
site-musique = { site-musique = {
@ -376,6 +386,9 @@ in
public = true; public = true;
username = "nyanloutre"; username = "nyanloutre";
}; };
airsonic.enable = true;
airsonic.maxMemory = 500;
}; };
systemd.services.dogetipbot-telegram = { systemd.services.dogetipbot-telegram = {