22 lines
372 B
Nix
22 lines
372 B
Nix
{ pkgs, config, lib, ... }:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.erwin.input;
|
|
in {
|
|
options.erwin.input = {
|
|
enable = mkOption {
|
|
description = "Enable input configuration";
|
|
type = types.bool;
|
|
default = false;
|
|
};
|
|
};
|
|
|
|
config = mkIf (cfg.enable) {
|
|
home.keyboard = {
|
|
layout = "us";
|
|
variant = "colemak";
|
|
options = [];
|
|
};
|
|
};
|
|
}
|