migrate from gitea to forgejo
This commit is contained in:
parent
985b5344f6
commit
e8f134f5c7
3 changed files with 20 additions and 19 deletions
|
@ -7,7 +7,7 @@
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./data.nix
|
./data.nix
|
||||||
./firewall.nix
|
./firewall.nix
|
||||||
./gitea.nix
|
./forgejo.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./homeassistant.nix
|
./homeassistant.nix
|
||||||
./invidious.nix
|
./invidious.nix
|
||||||
|
|
19
hosts/Anton/forgejo.nix
Normal file
19
hosts/Anton/forgejo.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
services.forgejo = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.forgejo;
|
||||||
|
stateDir = "/mnt/data/services/forgejo";
|
||||||
|
|
||||||
|
#appName = "My low quality unfinished Projects";
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
server = {
|
||||||
|
DOMAIN = "git.huwe.mooo.com";
|
||||||
|
HTTP_PORT = 3000;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1,18 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
|
|
||||||
services.gitea = {
|
|
||||||
enable = true;
|
|
||||||
stateDir = "/mnt/data/services/gitea";
|
|
||||||
|
|
||||||
appName = "My low quality unfinished Projects";
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
server = {
|
|
||||||
DOMAIN = "git.huwe.mooo.com";
|
|
||||||
HTTP_PORT = 3000;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue