thrall: Enable gitea service
This commit is contained in:
parent
e50f72be6a
commit
5391938b64
2 changed files with 19 additions and 4 deletions
|
|
@ -65,7 +65,8 @@
|
||||||
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/redmi
|
./hosts/redmi
|
||||||
{ nix.registry.nixpkgs.flake = nixpkgs; } { nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
{ nix.registry.nixpkgs.flake = nixpkgs; }
|
||||||
|
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -189,6 +189,20 @@ in {
|
||||||
root = "/srv/www/failco.de";
|
root = "/srv/www/failco.de";
|
||||||
serverAliases = [ "www.failco.de" "mail.failco.de" ];
|
serverAliases = [ "www.failco.de" "mail.failco.de" ];
|
||||||
};
|
};
|
||||||
|
# "jakalx.net" = {
|
||||||
|
# forceSSL = true;
|
||||||
|
# enableACME = true;
|
||||||
|
# root = "/srv/www/jakalx.net";
|
||||||
|
# serverAliases = [ "www.jakalx.net" ];
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
|
||||||
|
services.gitea = {
|
||||||
|
enable = true;
|
||||||
|
database.type = "sqlite3";
|
||||||
|
lfs.enable = true;
|
||||||
|
httpAddress = "127.0.0.1";
|
||||||
|
httpPort = 3000;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
|
|
@ -226,15 +240,15 @@ in {
|
||||||
mailserver = {
|
mailserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
fqdn = "thrall.failco.de";
|
fqdn = "thrall.failco.de";
|
||||||
domains = [ "failco.de" ];
|
domains = [ "failco.de" "jakalx.net" ];
|
||||||
|
|
||||||
loginAccounts = {
|
loginAccounts = {
|
||||||
"me@failco.de" = {
|
"me@failco.de" = {
|
||||||
hashedPasswordFile = config.age.secrets.mailPass.path;
|
hashedPasswordFile = config.age.secrets.mailPass.path;
|
||||||
|
|
||||||
aliases = [ "jakalx@failco.de" ];
|
aliases = [ "lx@failco.de" "alex@failco.de" ];
|
||||||
|
|
||||||
catchAll = [ "failco.de" ];
|
catchAll = [ "failco.de" "jakalx.net" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue