From 865afe8ab3e367726bad5d09ae0c3682837c60b8 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Sat, 19 Oct 2024 13:07:09 -0400 Subject: [PATCH] Add an mkforce to the keys of the chromebook to avoid conflicting hotkeys --- hosts/lacros/system/default.nix | 8 ++++---- modules/system/services/pc/keyd/default.nix | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/lacros/system/default.nix b/hosts/lacros/system/default.nix index e91a609..5e8628f 100644 --- a/hosts/lacros/system/default.nix +++ b/hosts/lacros/system/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, lib, ... }: { imports = [ ./hardware @@ -24,9 +24,9 @@ ]; services.keyd.keyboards.default.settings.main = { - leftmeta = "overload(control, esc)"; - leftcontrol = "leftmeta"; - f13 = "delete"; + leftmeta = lib.mkForce "overload(control, esc)"; + leftcontrol = lib.mkForce "leftmeta"; + f13 = lib.mkForce "delete"; }; networking.hostName = "lacros"; diff --git a/modules/system/services/pc/keyd/default.nix b/modules/system/services/pc/keyd/default.nix index 27b2af0..761afc8 100644 --- a/modules/system/services/pc/keyd/default.nix +++ b/modules/system/services/pc/keyd/default.nix @@ -7,6 +7,7 @@ settings.main = { capslock = "overload(control, esc)"; esc = "capslock"; + control = "f14"; }; }; };