From 641c545bf27c15f8cd80d58122271d949b6b0727 Mon Sep 17 00:00:00 2001
From: Ethel Morgan <eth@ethulhu.co.uk>
Date: Fri, 29 May 2020 22:00:45 +0100
Subject: rename the keyboard config options

---
 nixos/modules/hardware/keyboard.nix | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'nixos')

diff --git a/nixos/modules/hardware/keyboard.nix b/nixos/modules/hardware/keyboard.nix
index 69ab14a..dc68b2f 100644
--- a/nixos/modules/hardware/keyboard.nix
+++ b/nixos/modules/hardware/keyboard.nix
@@ -2,15 +2,15 @@
 with lib;
 
 let 
-  cfg = config.eth.keyboard;
+  cfg = config.eth.hardware.keyboard;
 
 in {
 
-  options.eth.keyboard = {
-    enable = mkEnableOption "Eth's keyboard preferences";
+  options.eth.hardware.keyboard = {
+    enableColemak = mkEnableOption "Eth's keyboard preferences";
   };
 
-  config = mkIf cfg.enable {
+  config = mkIf cfg.enableColemak {
 
     console.useXkbConfig = true;
 
-- 
cgit v1.2.3