pc: add tools to make using the ZSA Ergodox easier
This commit is contained in:
parent
e641f5c93a
commit
fc5068f4d4
|
@ -177,6 +177,8 @@ in
|
|||
"nixpkgs-review"
|
||||
"sane-scripts.dev"
|
||||
"sequoia"
|
||||
"wally-cli"
|
||||
"zsa-udev-rules"
|
||||
];
|
||||
|
||||
consoleMediaUtils = declPackageSet [
|
||||
|
@ -363,6 +365,7 @@ in
|
|||
"inkscape"
|
||||
# "jellyfin-media-player"
|
||||
"kdenlive"
|
||||
"keymapp"
|
||||
# "kid3" # audio tagging
|
||||
"krita"
|
||||
"libreoffice" # TODO: replace with an office suite that uses saner packaging?
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
./imagemagick.nix
|
||||
./jellyfin-media-player.nix
|
||||
./kdenlive.nix
|
||||
./keymapp.nix
|
||||
./komikku.nix
|
||||
./koreader
|
||||
./less.nix
|
||||
|
@ -153,6 +154,7 @@
|
|||
./tuba.nix
|
||||
./unl0kr
|
||||
./vlc.nix
|
||||
./wally-cli.nix
|
||||
./waybar
|
||||
./waylock.nix
|
||||
./where-am-i.nix
|
||||
|
@ -171,6 +173,7 @@
|
|||
./zeal.nix
|
||||
./zecwallet-lite.nix
|
||||
./zulip.nix
|
||||
./zsa-udev-rules.nix
|
||||
./zsh
|
||||
];
|
||||
|
||||
|
|
8
hosts/common/programs/keymapp.nix
Normal file
8
hosts/common/programs/keymapp.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
# ZSA keyboard (Ergodox, Moonlander, ...) firmware flasher and keymap viewer.
|
||||
# video: <https://www.zsa.io/flash>
|
||||
# displays on launch:
|
||||
# - "Error connecting to the keyboard, make sure the layout flashed on your keyboard was recently compiled with Oryx and that the [Live training] option is toggled on in the advanced settings."
|
||||
{ ... }:
|
||||
{
|
||||
sane.programs.keymapp = {};
|
||||
}
|
5
hosts/common/programs/wally-cli.nix
Normal file
5
hosts/common/programs/wally-cli.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
# wally-cli: allows flashing firmware to keyboards like ZSA Ergodox.
|
||||
{ ... }:
|
||||
{
|
||||
sane.programs.wally-cli = {};
|
||||
}
|
8
hosts/common/programs/zsa-udev-rules.nix
Normal file
8
hosts/common/programs/zsa-udev-rules.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.sane.programs.zsa-udev-rules;
|
||||
in
|
||||
{
|
||||
sane.programs.zsa-udev-rules.sandbox.enable = false;
|
||||
services.udev.packages = lib.mkIf cfg.enabled [ cfg.package ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user