From 187b536768be20b7192db8fa0f3f818ad92c9da9 Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Thu, 27 Mar 2025 23:18:00 -0400
Subject: [PATCH 01/10] Add the actions demo

---
 .gitea/workflows/actions.yaml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 .gitea/workflows/actions.yaml

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
new file mode 100644
index 0000000..fd71325
--- /dev/null
+++ b/.gitea/workflows/actions.yaml
@@ -0,0 +1,19 @@
+name: Gitea Actions Demo
+run-name: ${{ gitea.actor }} is testing out Gitea Actions
+on: [push]
+
+jobs:
+  Explore-Gitea-Actions:
+    runs-on: ubuntu-latest
+    steps:
+      - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
+      - run: echo "This job is now running on ${{ runner.os }} server hosted by Gitea!"
+      run echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
+      - name: Check out repository code
+        uses: actions/checkout@v4
+      - run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
+      - run: echo "The workflow is now ready to test your code on the runner."
+      - name: List files in the repository
+        run: |
+          ls ${{ gitea.workspace }}
+      - run: echo "This job's status is ${{ job.status }}."

From 9dd8b2716ee9335643ed8ddc6d4cf5b5220b42bb Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Thu, 27 Mar 2025 23:22:02 -0400
Subject: [PATCH 02/10] Fix the workflow

---
 .gitea/workflows/actions.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index fd71325..d16d7e5 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -8,7 +8,7 @@ jobs:
     steps:
       - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
       - run: echo "This job is now running on ${{ runner.os }} server hosted by Gitea!"
-      run echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
+      - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
       - name: Check out repository code
         uses: actions/checkout@v4
       - run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."

From 0e45e22cac30bca85f5fba0793ab28695404bed1 Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Thu, 27 Mar 2025 23:37:39 -0400
Subject: [PATCH 03/10] Change the name of the target runner

---
 .gitea/workflows/actions.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index d16d7e5..ca416a0 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -4,7 +4,7 @@ on: [push]
 
 jobs:
   Explore-Gitea-Actions:
-    runs-on: ubuntu-latest
+    runs-on: beacon
     steps:
       - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
       - run: echo "This job is now running on ${{ runner.os }} server hosted by Gitea!"

From 45cde32ff27f9f32cba78aaaadd53515150ac42f Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Thu, 27 Mar 2025 23:47:16 -0400
Subject: [PATCH 04/10] Change runner label to native

---
 .gitea/workflows/actions.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index ca416a0..4dd001d 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -4,7 +4,7 @@ on: [push]
 
 jobs:
   Explore-Gitea-Actions:
-    runs-on: beacon
+    runs-on: native
     steps:
       - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
       - run: echo "This job is now running on ${{ runner.os }} server hosted by Gitea!"

From 95d40800f42af39f3c1c7b919ddd8c60e9e31de0 Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Thu, 27 Mar 2025 23:52:37 -0400
Subject: [PATCH 05/10] Set up a nix build job

---
 .gitea/workflows/actions.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index 4dd001d..f3d5553 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -17,3 +17,14 @@ jobs:
         run: |
           ls ${{ gitea.workspace }}
       - run: echo "This job's status is ${{ job.status }}."
+
+  build-flake:
+    runs-on: native
+    steps:
+      - name: Checkout repository code
+        uses: actions/checkout@v4
+      - name: Build the apps
+        run: nix build .#all
+      - name: Check the end of the build
+        run: ls ${{ gitea.workspace }}/result/bin
+

From 76b2a610f962de2b9b0f78cf95f92ba6c0b4b9e1 Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Thu, 27 Mar 2025 23:59:40 -0400
Subject: [PATCH 06/10] actions diagnostics

---
 .gitea/workflows/actions.yaml | 32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index f3d5553..0b16f82 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -3,28 +3,30 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions
 on: [push]
 
 jobs:
-  Explore-Gitea-Actions:
-    runs-on: native
-    steps:
-      - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
-      - run: echo "This job is now running on ${{ runner.os }} server hosted by Gitea!"
-      - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
-      - name: Check out repository code
-        uses: actions/checkout@v4
-      - run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
-      - run: echo "The workflow is now ready to test your code on the runner."
-      - name: List files in the repository
-        run: |
-          ls ${{ gitea.workspace }}
-      - run: echo "This job's status is ${{ job.status }}."
+  # Explore-Gitea-Actions:
+  #   runs-on: native
+  #   steps:
+  #     - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
+  #     - run: echo "This job is now running on ${{ runner.os }} server hosted by Gitea!"
+  #     - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
+  #     - name: Check out repository code
+  #       uses: actions/checkout@v4
+  #     - run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
+  #     - run: echo "The workflow is now ready to test your code on the runner."
+  #     - name: List files in the repository
+  #       run: |
+  #         ls ${{ gitea.workspace }}
+  #     - run: echo "This job's status is ${{ job.status }}."
 
   build-flake:
     runs-on: native
     steps:
       - name: Checkout repository code
         uses: actions/checkout@v4
+      - name: Where am I?
+        run: pwd
       - name: Build the apps
-        run: nix build .#all
+        run: /run/current-system/sw/bin/nix build .#all
       - name: Check the end of the build
         run: ls ${{ gitea.workspace }}/result/bin
 

From 76dea5592e358322106358cdd8f861d501a32efd Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Fri, 28 Mar 2025 00:02:49 -0400
Subject: [PATCH 07/10] Set the working directory

---
 .gitea/workflows/actions.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index 0b16f82..6756cb0 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -20,6 +20,7 @@ jobs:
 
   build-flake:
     runs-on: native
+    defaults.run.working-directory: ${{ gitea.workspace }}
     steps:
       - name: Checkout repository code
         uses: actions/checkout@v4

From b88ca9e36f85c540630ce20bb6bc10190f5dde2a Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Fri, 28 Mar 2025 00:04:29 -0400
Subject: [PATCH 08/10] Try enabling the nix-command feature

---
 .gitea/workflows/actions.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index 6756cb0..8d3ec9e 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -27,7 +27,7 @@ jobs:
       - name: Where am I?
         run: pwd
       - name: Build the apps
-        run: /run/current-system/sw/bin/nix build .#all
+        run: /run/current-system/sw/bin/nix --extra-experimental-features nix-command build .#all
       - name: Check the end of the build
         run: ls ${{ gitea.workspace }}/result/bin
 

From b8b7844ec24c9f69c718f7141aa2f4963bd59f95 Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Fri, 28 Mar 2025 00:06:37 -0400
Subject: [PATCH 09/10] Enable flakes as well

---
 .gitea/workflows/actions.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index 8d3ec9e..da68942 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -27,7 +27,7 @@ jobs:
       - name: Where am I?
         run: pwd
       - name: Build the apps
-        run: /run/current-system/sw/bin/nix --extra-experimental-features nix-command build .#all
+        run: /run/current-system/sw/bin/nix --extra-experimental-features "nix-command flakes" build .#all
       - name: Check the end of the build
         run: ls ${{ gitea.workspace }}/result/bin
 

From 452602b1402ba51a892bac38706584175d35e91a Mon Sep 17 00:00:00 2001
From: Savanni D'Gerinel <savanni@luminescent-dreams.com>
Date: Fri, 28 Mar 2025 08:54:58 -0400
Subject: [PATCH 10/10] Tweak the runner target to something more descriptive

---
 .gitea/workflows/actions.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml
index da68942..c7c45ff 100644
--- a/.gitea/workflows/actions.yaml
+++ b/.gitea/workflows/actions.yaml
@@ -19,7 +19,7 @@ jobs:
   #     - run: echo "This job's status is ${{ job.status }}."
 
   build-flake:
-    runs-on: native
+    runs-on: nixos
     defaults.run.working-directory: ${{ gitea.workspace }}
     steps:
       - name: Checkout repository code