mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/kmonad: simplify config for default keyboard name
(cherry picked from commit 23768e2a12
)
This commit is contained in:
parent
f5c476c368
commit
a4054a06e5
1 changed files with 1 additions and 4 deletions
|
@ -15,6 +15,7 @@ let
|
|||
options = {
|
||||
name = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = name;
|
||||
example = "laptop-internal";
|
||||
description = "Keyboard name.";
|
||||
};
|
||||
|
@ -71,10 +72,6 @@ let
|
|||
description = "Keyboard configuration.";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
name = lib.mkDefault name;
|
||||
};
|
||||
};
|
||||
|
||||
# Create a complete KMonad configuration file:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue