mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
added keyboard nix config & package smartcat
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
./yubikey.nix
|
./yubikey.nix
|
||||||
./sound.nix
|
./sound.nix
|
||||||
./usb.nix
|
./usb.nix
|
||||||
|
./keyboard.nix
|
||||||
./time.nix
|
./time.nix
|
||||||
./swap.nix
|
./swap.nix
|
||||||
./bootloader.nix
|
./bootloader.nix
|
||||||
|
@@ -1,12 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Select internationalisation properties.
|
|
||||||
services.xserver = {
|
|
||||||
xkb.layout = "us,ua,ru";
|
|
||||||
xkb.options = "grp:alt_shift_toggle";
|
|
||||||
};
|
|
||||||
|
|
||||||
i18n.supportedLocales = [
|
i18n.supportedLocales = [
|
||||||
"en_US.UTF-8/UTF-8"
|
"en_US.UTF-8/UTF-8"
|
||||||
"uk_UA.UTF-8/UTF-8"
|
"uk_UA.UTF-8/UTF-8"
|
||||||
|
47
nixos/keyboard.nix
Normal file
47
nixos/keyboard.nix
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.xserver = {
|
||||||
|
xkb.layout = "us,ua,ru";
|
||||||
|
xkb.options = "grp:alt_shift_toggle";
|
||||||
|
};
|
||||||
|
|
||||||
|
# services.kanata = {
|
||||||
|
# enable = true;
|
||||||
|
# keyboards = {
|
||||||
|
# internalKeyboard = {
|
||||||
|
# extraDefCfg = "process-unmapped-keys yes";
|
||||||
|
# config = ''
|
||||||
|
# (defsrc
|
||||||
|
# caps a s d f j k l ; lctl h
|
||||||
|
# )
|
||||||
|
|
||||||
|
# (defvar
|
||||||
|
# tap-time 200
|
||||||
|
# hold-time 200
|
||||||
|
# )
|
||||||
|
|
||||||
|
# (defalias
|
||||||
|
# escsuper (tap-hold $tap-time $hold-time esc lmet)
|
||||||
|
# a-mod (tap-hold $tap-time $hold-time a lctl)
|
||||||
|
# s-mod (tap-hold $tap-time $hold-time s lsft)
|
||||||
|
# d-mod (tap-hold $tap-time $hold-time d lalt)
|
||||||
|
# f-mod (tap-hold $tap-time $hold-time f lmet)
|
||||||
|
# j-mod (tap-hold $tap-time $hold-time j rmet)
|
||||||
|
# k-mod (tap-hold $tap-time $hold-time k ralt)
|
||||||
|
# l-mod (tap-hold $tap-time $hold-time l rsft)
|
||||||
|
# ;-mod (tap-hold $tap-time $hold-time ; rctl)
|
||||||
|
# ctrl-h-backpace (tap-hold $tap-time $hold-time lctl (layer-toggle ctrl-h-layer))
|
||||||
|
# )
|
||||||
|
|
||||||
|
# (deflayer base
|
||||||
|
# @escsuper @a-mod @s-mod @d-mod @f-mod @j-mod @k-mod @l-mod @;-mod @ctrl-h-backpace h
|
||||||
|
# )
|
||||||
|
# (deflayer ctrl-h-layer
|
||||||
|
# _ _ _ _ _ _ _ _ _ _ bspc
|
||||||
|
# )
|
||||||
|
# '';
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
}
|
@@ -11,5 +11,6 @@
|
|||||||
nextjs-ollama-llm-ui
|
nextjs-ollama-llm-ui
|
||||||
aichat
|
aichat
|
||||||
tgpt
|
tgpt
|
||||||
|
smartcat
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user