Files
dotfiles/hosts/satori/xorg.nix
Amneesh Singh 5fef417fb0 home/natto: move around stuff
move git and zsh from hosts/satori and split services.nix

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-01-24 11:36:04 +05:30

44 lines
951 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 = "0";
# accelProfile = "flat";
};
touchpad = {
middleEmulation = false;
clickMethod = "buttonareas";
tapping = true;
naturalScrolling = true;
};
};
displayManager = {
startx = {
enable = true;
};
};
extraLayouts = {
colemak = {
description = "Colemak Layouts";
languages = [ "eng" ];
symbolsFile = ./colemak;
};
};
layout = "us";
xkbVariant = "colemak_dh"; # trying to ditch DHz now
autoRepeatDelay = 320;
autoRepeatInterval = 30;
};
};
}