Commit graph

5 commits

Author SHA1 Message Date
Jared Baur ce0970e19b
nixos/evremap: get rid of unecessary bash
Using `systemd.services.<name>.script` pulls in bash in the ExecStart
line for a service. Since our "script" was only one line anyways,
we can inline it to just use ExecStart directly. Losing shell features
shouldn't be detrimental here, as we're not using pipes and there are
no globs to expand.
2025-03-17 21:33:00 -07:00
Bryan Bennett 60cf5c7188 evremap: Fix key type regex 2025-03-10 16:33:38 -04:00
alex 6a5dc7cbd5 nixos/evremap: add option phys
adds the optional attribute `phys` to uniquely identify a single device, if multiple
devices share the same name

nixos/evremap: fix toml config generation

filter out attrsets with a `null` value as toml doesn't support it

nixos/evremap: use nixfmt

nixos/evremap: incorporate changes from review
2024-12-10 00:50:07 +01:00
alex b282ad165a nixos/evremap: extend key type
allow the key to be remapped start with BTN as well as KEY,
to enable remapping of mouse buttons
2024-12-06 00:30:17 +01:00
Leah Amelia Chen 41e907f884
nixos/evremap: init module 2024-11-08 09:31:27 +01:00