Skip to content

Commit

Permalink
Update Step 3 in nixos module guide (#749)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
andreyadrian committed Oct 16, 2023
1 parent fb25563 commit 159e33d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions doc/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

1 comment on commit 159e33d

@jokesper
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't mix tabs and spaces for indents especiall in the same line.
But I looks funny with tools marking indents ;)

Please sign in to comment.