From ee9ba47deaea62bda4c07c2acf6ad9d1b01c3578 Mon Sep 17 00:00:00 2001 From: Shawn Borton Date: Thu, 10 Sep 2026 15:29:52 -0500 Subject: [PATCH] Updated Org Mode Following Forgejo Setup --- literal/crows_nest/configuration.org | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/literal/crows_nest/configuration.org b/literal/crows_nest/configuration.org index 4f79d2c..2b582fd 100644 --- a/literal/crows_nest/configuration.org +++ b/literal/crows_nest/configuration.org @@ -47,6 +47,7 @@ Configuration for Crows nest, an automation platform featuring Portainer, Ansibl #(modulesPath + "/profiles/base.nix") ../virtualization/podman-utils.nix ../virtualization/nebula-sync-oci.nix +../virtualization/forgejo.nix #+end_src ** ISO Information #+NAME: iso-config @@ -75,6 +76,7 @@ boot.growPartition = lib.mkDefault true; # Workaround for busted ZFS kernels boot.supportedFilesystems = { + cifs = true; zfs = lib.mkForce false; }; #+end_src @@ -95,7 +97,7 @@ networking.hostName = lib.mkDefault "crowsnest"; networking.firewall.enable = true; # Open firewall ports for Portainer -networking.firewall.allowedTCPPorts = [80 443 2112 8000]; +networking.firewall.allowedTCPPorts = [80 443 2049 2112 3000 ]; #+end_src #+NAME: timey-wimey-stuff @@ -110,6 +112,7 @@ zsh bat eza podman-tui +cifs-utils #+end_src ** Shell Configuration #+NAME: shell-configuration @@ -137,6 +140,8 @@ programs.zsh.ohMyZsh = { ** File System #+NAME: file-system #+begin_src nix :noweb-ref file-system +# Allow users to run mount.cifs + # Default filesystem fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-label/nixos"; @@ -144,12 +149,14 @@ fileSystems."/" = lib.mkDefault { 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) + #+end_src ** System Information #+NAME: system-information