Forgejo Setup

This commit is contained in:
Shawn Borton 2026-09-10 15:29:11 -05:00
parent a4db9c8516
commit c9914bf62e
3 changed files with 266 additions and 7 deletions

View file

@ -8,6 +8,7 @@
#(modulesPath + "/profiles/base.nix")
../virtualization/podman-utils.nix
../virtualization/nebula-sync-oci.nix
../virtualization/forgejo.nix
];
config = {
@ -35,7 +36,7 @@
networking.firewall.enable = true;
# Open firewall ports for Portainer
networking.firewall.allowedTCPPorts = [80 443 2112 8000];
networking.firewall.allowedTCPPorts = [80 443 2049 2112 3000 ];
# Time Zone
time.timeZone = "America/Chicago";
@ -105,12 +106,14 @@
fsType = "ext4";
};
fileSystems."/mnt/gitlab" = {
device = "//10.0.0.49/Gitlab";
fsType = "cifs";
# options = [ "username=eddie" "password=yoursambapassword" "x-systemd.automount" "noauto" ];
options = [ "x-systemd.automount" "noauto" ];
}
# Forgejo mount
fileSystems."/mnt/forgejo" = {
device = "10.0.0.49:/Forgejo";
fsType = "nfs";
};
#uid=992(forgejo) gid=990(forgejo) groups=990(forgejo)
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
system.stateVersion = lib.mkDefault "25.05";