diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index c1d3bd5..d051ee8 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -4,7 +4,7 @@ on: [push] jobs: Explore-Forgejo-Actions: - runs-on: nix-builder + runs-on: ubuntu-latest steps: - run: echo "🎉 The job was automatically triggered by a ${{ forgejo.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Forgejo!" @@ -16,5 +16,4 @@ jobs: - name: List files in the repository run: | ls ${{ forgejo.workspace }} - - run: nix build .#nixosConfigurations.gospel.config.system.build.toplevel - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/homes/x86_64-linux/alejandro@git/default.nix b/homes/x86_64-linux/alejandro@git/default.nix index 0cf5664..4bb54e0 100644 --- a/homes/x86_64-linux/alejandro@git/default.nix +++ b/homes/x86_64-linux/alejandro@git/default.nix @@ -12,5 +12,6 @@ nix.gc = { automatic = true; options = "-d"; + frequency = "03:15"; }; } diff --git a/systems/x86_64-linux/gospel/default.nix b/systems/x86_64-linux/gospel/default.nix index 54587ce..65d48ef 100644 --- a/systems/x86_64-linux/gospel/default.nix +++ b/systems/x86_64-linux/gospel/default.nix @@ -88,8 +88,6 @@ url = "https://git.alejandr0angul0.dev"; tokenFile = config.age.secrets.gitea-runner-gospel.path; labels = [ - "nix-builder:host" - "ubuntu-latest:docker://node:16-bullseye" "ubuntu-22.04:docker://node:16-bullseye" "ubuntu-20.04:docker://node:16-bullseye" @@ -98,15 +96,6 @@ }; }; }; - # Allow the Forgejo Actions runner user to talk to nix-daemon when - # running jobs directly on the host. - nix.settings.trusted-users = [ - config.systemd.services."gitea-runner-gospel".serviceConfig.User - ]; - nix.settings.allowed-users = [ - config.systemd.services."gitea-runner-gospel".serviceConfig.User - ]; - virtualisation = { libvirtd.enable = true;