nixpkgs/home/xsession.nix
Daniel Siepmann 6c7275bd84
Remove todo
I could move them to xinitrc, but that doesn't seem better.
Looks like the current solution is ok.
2022-05-20 15:55:02 +02:00

28 lines
596 B
Nix

{ config, pkgs }:
{
enable = true;
numlock.enable = true;
initExtra = ''
eval $(ssh-agent)
xrandr --auto --brightness 1
xbacklight -set 25
xsetroot -solid "#2E3436"
xset s off
xinput --set-prop 'DELL07E6:00 06CB:76AF Touchpad' 'libinput Tapping Enabled' 1
# Use natural scrolling for trackpad
xinput --set-prop 'DELL07E6:00 06CB:76AF Touchpad' 'libinput Natural Scrolling Enabled' 1
# Increase mouse speed
xinput --set-prop 13 'libinput Accel Speed' 1
'';
windowManager.i3 = import ./windowManager/i3.nix {
inherit config pkgs;
};
}