xmonad: added new layout+keybinds, removed useless code neovim: minor changes hosts/satori: changed kernel to zen again home/services and home/programs: minor changes overlays: changed picom src and other minor changes
45 lines
986 B
Nix
45 lines
986 B
Nix
|
|
{ config, lib, ... }:
|
|
|
|
#let
|
|
# compiledLayout = pkgs.runCommand "keyboard-layout" {} ''
|
|
# ${pkgs.xorg.xkbcomp}/bin/xkbcomp ${./colemak-dh.xkb} $out
|
|
# '';
|
|
#in
|
|
{
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
libinput= {
|
|
enable = true;
|
|
mouse = {
|
|
accelSpeed = null;
|
|
};
|
|
touchpad = {
|
|
middleEmulation = false;
|
|
clickMethod = "buttonareas";
|
|
tapping = true;
|
|
naturalScrolling =true;
|
|
};
|
|
};
|
|
displayManager = {
|
|
startx = {
|
|
enable = true;
|
|
};
|
|
# sessionCommands = "${pkgs.xorg.xkbcomp}/bin/xkbcomp ${compiledLayout} $DISPLAY";
|
|
};
|
|
extraLayouts = {
|
|
us-colemak = {
|
|
description = "Colemak with MOD-dh";
|
|
languages = [ "eng" ];
|
|
symbolsFile = ./colemak-dh;
|
|
};
|
|
};
|
|
layout = "us-colemak";
|
|
xkbVariant = "basic";
|
|
autoRepeatDelay = 320;
|
|
autoRepeatInterval = 30;
|
|
};
|
|
};
|
|
}
|