Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Step 3 in nixos module guide #749

Merged
merged 2 commits into from
Oct 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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