-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add QMK keyboard firmware environment
- Loading branch information
Showing
4 changed files
with
185 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
run/ | ||
cache/ | ||
lib/ | ||
log/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "qmk", | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |