refactor gitea configuration in a module
updated: modules/gitea to put specific configuration in the module updated: flake.nix to import the module in nodes
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
./glances.nix
|
||||
./secrets.nix
|
||||
./coredns
|
||||
./gitea.nix
|
||||
./copyparty.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
{lib, nodes, ...}: let
|
||||
ssh_port = 24658;
|
||||
in {
|
||||
services = {
|
||||
gitea = {
|
||||
enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.shobu.fr";
|
||||
SSH_PORT = ssh_port;
|
||||
};
|
||||
};
|
||||
};
|
||||
# openssh = {
|
||||
# ports = lib.mkAfter [ ssh_port ];
|
||||
# };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user