From 159e33d76ec2a15adc5011d96d3fc0f4a3787724 Mon Sep 17 00:00:00 2001 From: AndreyAdrian <64794163+AndreyAdrian@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:59:55 +0000 Subject: [PATCH] Update Step 3 in nixos module guide (#749) * Update NixOS module in installation.md Step 3 on nixos module guide, will not work as it is stated right now. * Update NixOS module gude in installation.md Step 3 on nixos module guide, will not work as it is stated right now. --- doc/installation.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/installation.md b/doc/installation.md index 357b2553..d2263a55 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -477,9 +477,16 @@ binary release of kmonad and packages it in the nix-store: 3. Configure the module: ``` nix - services.kmonad = { - enable = true; # disable to not run kmonad at startup - configfiles = [ /path/to/config.kbd ]; + services.kmonad = { + enable = true; + keyboards = { + { any name for your keyboard } = { + device = "/dev/input/by-id/{ your keyboard id that usually ends with -kbd }"; + config = '' + { content of config.kbd here } + ''; + }; + }; # Modify the following line if you copied nixos-module.nix elsewhere or if you want to use the derivation described above # package = import /pack/to/kmonad.nix; };