Forgejo up

This commit is contained in:
Daniel Flanagan 2024-09-06 16:15:58 -05:00
parent e2c3b08fc7
commit 98c46632a6

View file

@ -488,6 +488,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
"jellyfin" # write access to jellyfin files "jellyfin" # write access to jellyfin files
"audiobookshelf" # write access to audiobookshelf files "audiobookshelf" # write access to audiobookshelf files
"flanilla" # minecraft server manager "flanilla" # minecraft server manager
"forgejo"
]; ];
}; };
} }
@ -741,7 +742,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
} }
{ {
systemd.tmpfiles.settings = { systemd.tmpfiles.settings = {
"10-backups" = { "10-forgejo" = {
"/storage/forgejo" = { "/storage/forgejo" = {
"d" = { "d" = {
mode = "0700"; mode = "0700";
@ -752,7 +753,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
}; };
}; };
services.forgejo = { services.forgejo = {
enable = false; enable = true;
stateDir = "/storage/forgejo"; stateDir = "/storage/forgejo";
settings = { settings = {
DEFAULT = { DEFAULT = {