From e0d1f210caedc84d95c12343a8cf8bc7345e47c4 Mon Sep 17 00:00:00 2001 From: vin Date: Wed, 30 Jul 2025 12:22:05 -0400 Subject: I no longer use NixOS --- .github/dependabot.yml | 8 -------- .github/workflows/ci.yml | 26 ------------------------ .github/workflows/deps.yml | 44 ----------------------------------------- .github/workflows/flake.yml | 32 ------------------------------ .gitignore | 8 +++----- flake.lock | 48 --------------------------------------------- flake.nix | 42 --------------------------------------- 7 files changed, 3 insertions(+), 205 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/deps.yml delete mode 100644 .github/workflows/flake.yml delete mode 100644 flake.lock delete mode 100644 flake.nix diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 9922df0..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: "/" - schedule: - interval: daily - commit-message: - prefix: "ci" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index e0e90f4..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: CI - -on: - pull_request: - push: - branches: - - main - workflow_dispatch: - -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: DeterminateSystems/nix-installer-action@v11 - - - run: nix -vL --show-trace flake check - - - run: nix -vL --show-trace build - - - uses: actions/upload-artifact@v4 - with: - name: zmk_firmware - path: result diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml deleted file mode 100644 index b1ba83b..0000000 --- a/.github/workflows/deps.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Dependencies - -on: - schedule: - - cron: '0 0 * * 0' - workflow_dispatch: - -permissions: - pull-requests: write - contents: write - -jobs: - update: - name: Update - runs-on: ubuntu-latest - permissions: - actions: write - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v4 - - - uses: DeterminateSystems/nix-installer-action@v12 - - - run: nix -vL run --show-trace .#update - - - id: create-pr - uses: peter-evans/create-pull-request@v6 - with: - branch: update_zmk_config_deps - delete-branch: true - committer: 'github-actions[bot] ' - author: 'github-actions[bot] ' - commit-message: 'config,nix: update deps' - title: 'config,nix: update deps' - labels: 'dependencies' - body: | - Automated bump of ZMK dependencies - - - uses: benc-uk/workflow-dispatch@v1 - if: ${{ contains(fromJSON('["created", "updated"]'), steps.create-pr.outputs.pull-request-operation) }} - with: - workflow: ci.yml - ref: refs/heads/update_zmk_config_deps diff --git a/.github/workflows/flake.yml b/.github/workflows/flake.yml deleted file mode 100644 index 5aef002..0000000 --- a/.github/workflows/flake.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Flake - -on: - schedule: - - cron: '0 0 * * 0' - workflow_dispatch: - -jobs: - update: - name: Update - runs-on: ubuntu-latest - permissions: - actions: write - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v4 - - - uses: DeterminateSystems/nix-installer-action@v11 - - - id: update-flake-lock - uses: DeterminateSystems/update-flake-lock@v21 - with: - commit-msg: 'flake: update inputs' - pr-title: 'flake: update inputs' - pr-labels: 'dependencies' - - - uses: benc-uk/workflow-dispatch@v1 - if: ${{ contains(fromJSON('["created", "updated"]'), steps.update-flake-lock.outputs.pull-request-operation) }} - with: - workflow: ci.yml - ref: refs/heads/update_flake_lock_action diff --git a/.gitignore b/.gitignore index f083fd4..e2bf6d1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -/.west -/modules -/zephyr -/zmk -/build +.* +*~ +*.swp diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 37081a7..0000000 --- a/flake.lock +++ /dev/null @@ -1,48 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1741865919, - "narHash": "sha256-4thdbnP6dlbdq+qZWTsm4ffAwoS8Tiq1YResB+RP6WE=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "573c650e8a14b2faa0041645ab18aed7e60f0c9a", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs", - "zmk-nix": "zmk-nix" - } - }, - "zmk-nix": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1741480308, - "narHash": "sha256-dt1dNtAu0uL/Hm5SAjrUXxk9/J2n0qn87BYg0rCKC3E=", - "owner": "lilyinstarlight", - "repo": "zmk-nix", - "rev": "ea2d2b41854960a8f991302ea75c7b93596e6244", - "type": "github" - }, - "original": { - "owner": "lilyinstarlight", - "repo": "zmk-nix", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 2bbc123..0000000 --- a/flake.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - - zmk-nix = { - url = "github:lilyinstarlight/zmk-nix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - - outputs = { self, nixpkgs, zmk-nix }: let - forAllSystems = nixpkgs.lib.genAttrs (nixpkgs.lib.attrNames zmk-nix.packages); - in { - packages = forAllSystems (system: rec { - default = firmware; - - firmware = zmk-nix.legacyPackages.${system}.buildSplitKeyboard { - name = "firmware"; - - src = nixpkgs.lib.sourceFilesBySuffices self [ ".board" ".cmake" ".conf" ".defconfig" ".dts" ".dtsi" ".json" ".keymap" ".overlay" ".shield" ".yml" "_defconfig" ]; - - board = "nice_nano_v2"; - shield = "cradio_%PART%"; - - zephyrDepsHash = "sha256-8h5lSnwxLTIqlvDNNl8fpv6hJFNF146Ck1qUWI/Cqqw="; - - meta = { - description = "ZMK firmware"; - license = nixpkgs.lib.licenses.mit; - platforms = nixpkgs.lib.platforms.all; - }; - }; - - flash = zmk-nix.packages.${system}.flash.override { inherit firmware; }; - update = zmk-nix.packages.${system}.update; - }); - - devShells = forAllSystems (system: { - default = zmk-nix.devShells.${system}.default; - }); - }; -} -- cgit v1.2.3