0
0
Fork 0
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:
Lin Jian 2025-01-01 06:49:07 +08:00
parent f5c476c368
commit a4054a06e5
No known key found for this signature in database
GPG key ID: A6698D36434F75A5

View file

@ -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: