diff options
-rw-r--r-- | .drone.yml | 14 | ||||
-rw-r--r-- | .github/dependabot.yml | 6 | ||||
-rw-r--r-- | .github/workflows/update.yaml | 20 | ||||
-rw-r--r-- | README.org | 2 |
4 files changed, 16 insertions, 26 deletions
diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0f9cb4e --- /dev/null +++ b/.drone.yml @@ -0,0 +1,14 @@ +--- +kind: pipeline +type: docker +name: flakes-update +trigger: + event: + - cron + +steps: + - name: update flakes + image: nixpkgs/nix-flakes:nixos-22.05 + commands: + - nix flake update --commit-lock-file + - nix develop -c git push origin --all diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 8c139c7..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,6 +0,0 @@ -version: 2 -updates: -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml deleted file mode 100644 index bdae053..0000000 --- a/.github/workflows/update.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: update-flake-lock -on: - workflow_dispatch: - schedule: - - cron: '40 5 * * 0' - -jobs: - update-flake-lock: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Install Nix - uses: cachix/install-nix-action@v18 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: Update flake.lock - id: update-flake-lock - uses: DeterminateSystems/update-flake-lock@v14 diff --git a/README.org b/README.org index 41f6342..6946b97 100644 --- a/README.org +++ b/README.org @@ -1,5 +1,7 @@ #+TITLE: world - nix configuration +[[https://ci.fcuny.net/api/badges/fcuny/world/status.svg]] + * nixos To rebuild the host: #+begin_src sh |