modules/nix/services: remove kanata

This commit is contained in:
Anthony Rodriguez 2025-01-14 21:41:09 +01:00
parent 4429b604dd
commit 94d59b47b3
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 1 additions and 39 deletions

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{
imports = [
./brightness.nix
./docker.nix
@ -8,7 +8,6 @@
./gnome.nix
./gnupg.nix
./greetd.nix
./kanata.nix
./kmscon.nix
./location.nix
./logind.nix

View file

@ -1,37 +0,0 @@
{
lib,
config,
...
}: {
services.kanata = lib.mkIf config.local.profiles.desktop.enable {
enable = true;
keyboards.default = {
extraDefCfg = "process-unmapped-keys yes";
config = ''
(defsrc
caps a s d f j k l ;
)
(defvar
tap-time 150
hold-time 200
)
(defalias
escctrl (tap-hold 100 100 esc lctl)
a (tap-hold $tap-time $hold-time a lmet)
s (tap-hold $tap-time $hold-time s lalt)
d (tap-hold $tap-time $hold-time d lsft)
f (tap-hold $tap-time $hold-time f lctl)
j (tap-hold $tap-time $hold-time j rctl)
k (tap-hold $tap-time $hold-time k rsft)
l (tap-hold $tap-time $hold-time l ralt)
; (tap-hold $tap-time $hold-time ; rmet)
)
(deflayer base
@escctrl @a @s @d @f @j @k @l @;
)
'';
};
};
}