Skip to content

Commit

Permalink
Add QMK keyboard firmware environment
Browse files Browse the repository at this point in the history
  • Loading branch information
zmitchell committed Oct 16, 2024
1 parent c5208f4 commit 9895196
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qmk/.flox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
run/
cache/
lib/
log/
4 changes: 4 additions & 0 deletions qmk/.flox/env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "qmk",
"version": 1
}
149 changes: 149 additions & 0 deletions qmk/.flox/env/manifest.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
{
"lockfile-version": 1,
"manifest": {
"version": 1,
"install": {
"qmk": {
"pkg-path": "qmk"
}
},
"hook": {
"on-activate": "echo \"\"\necho \" ╔═════════════════════════════════════╗\"\necho \" ║ ║\"\necho \" ║ Compile and flash your firmware: ║\"\necho \" ║ 👉 qmk compile ║\"\necho \" ║ 👉 qmk flash ║\"\necho \" ║ ║\"\necho \" ╚═════════════════════════════════════╝\"\necho \"\"\n"
},
"profile": {},
"options": {
"systems": [
"aarch64-darwin",
"aarch64-linux",
"x86_64-darwin",
"x86_64-linux"
],
"allow": {
"licenses": []
},
"semver": {}
}
},
"packages": [
{
"attr_path": "qmk",
"broken": false,
"derivation": "/nix/store/xacirp2vvhx4mij12ngvpmrpb91bv9mh-qmk-1.1.5.drv",
"description": "Program to help users work with QMK Firmware",
"install_id": "qmk",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"name": "qmk-1.1.5",
"pname": "qmk",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"rev_count": 692963,
"rev_date": "2024-10-14T06:48:30Z",
"scrape_date": "2024-10-16T03:55:11Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.1.5",
"outputs_to_install": [
"out"
],
"outputs": {
"dist": "/nix/store/8hrd2r51gkjqp3srinfcdsvi5z311l5f-qmk-1.1.5-dist",
"out": "/nix/store/x4cpv29hwrg9j8qzb02zq87k0gind6g4-qmk-1.1.5"
},
"system": "aarch64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "qmk",
"broken": false,
"derivation": "/nix/store/df24qa3mk0s8iv1sbc7plid1l2f5j8yk-qmk-1.1.5.drv",
"description": "Program to help users work with QMK Firmware",
"install_id": "qmk",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"name": "qmk-1.1.5",
"pname": "qmk",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"rev_count": 692963,
"rev_date": "2024-10-14T06:48:30Z",
"scrape_date": "2024-10-16T03:55:11Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.1.5",
"outputs_to_install": [
"out"
],
"outputs": {
"dist": "/nix/store/2y31y5nygi9w8ap7kfzg9hf3fhwz1nmr-qmk-1.1.5-dist",
"out": "/nix/store/vl3qydpz7wlvndrmagxrw11xgcvbspny-qmk-1.1.5"
},
"system": "aarch64-linux",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "qmk",
"broken": false,
"derivation": "/nix/store/0bkdvi53i1m0y93nzkzmj96rbbnzkm8g-qmk-1.1.5.drv",
"description": "Program to help users work with QMK Firmware",
"install_id": "qmk",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"name": "qmk-1.1.5",
"pname": "qmk",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"rev_count": 692963,
"rev_date": "2024-10-14T06:48:30Z",
"scrape_date": "2024-10-16T03:55:11Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.1.5",
"outputs_to_install": [
"out"
],
"outputs": {
"dist": "/nix/store/y5zwnf6m1ls7abqwmp24lwigr0sds569-qmk-1.1.5-dist",
"out": "/nix/store/7smyl7dcl3yl9sln43ygif3z1ziqz0m5-qmk-1.1.5"
},
"system": "x86_64-darwin",
"group": "toplevel",
"priority": 5
},
{
"attr_path": "qmk",
"broken": false,
"derivation": "/nix/store/sffgj1n9vqg80cc47bir7h06pj7pv59y-qmk-1.1.5.drv",
"description": "Program to help users work with QMK Firmware",
"install_id": "qmk",
"license": "MIT",
"locked_url": "https://github.com/flox/nixpkgs?rev=a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"name": "qmk-1.1.5",
"pname": "qmk",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"rev_count": 692963,
"rev_date": "2024-10-14T06:48:30Z",
"scrape_date": "2024-10-16T03:55:11Z",
"stabilities": [
"unstable"
],
"unfree": false,
"version": "1.1.5",
"outputs_to_install": [
"out"
],
"outputs": {
"dist": "/nix/store/xzqxpivz4kifs4iwp1l5kh8dd7n550vr-qmk-1.1.5-dist",
"out": "/nix/store/sv8ly64924z5ab0miard2lssnr0icif2-qmk-1.1.5"
},
"system": "x86_64-linux",
"group": "toplevel",
"priority": 5
}
]
}
28 changes: 28 additions & 0 deletions qmk/.flox/env/manifest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version = 1

[install]
# That's literally it, that's all you need
qmk.pkg-path = "qmk"

[vars]

[hook]
on-activate = '''
echo ""
echo " ╔═════════════════════════════════════╗"
echo " ║ ║"
echo " ║ Compile and flash your firmware: ║"
echo " ║ 👉 qmk compile ║"
echo " ║ 👉 qmk flash ║"
echo " ║ ║"
echo " ╚═════════════════════════════════════╝"
echo ""
'''


[profile]

[services]

[options]
systems = ["aarch64-darwin", "aarch64-linux", "x86_64-darwin", "x86_64-linux"]

0 comments on commit 9895196

Please sign in to comment.