refactor: laptop hardware settings

This commit is contained in:
Infinidoge 2021-09-26 22:33:05 -04:00
parent 6a00183557
commit 4d3a6c4f20
2 changed files with 14 additions and 7 deletions

View file

@ -7,17 +7,16 @@
boot.grub
networking.wireless
hardware.sound
hardware.amdgpu
(with hardware; [
sound
amdgpu
laptop
])
# peripherals.printing
];
};
services.xserver.libinput = {
enable = true;
touchpad.naturalScrolling = true;
};
system.stateVersion = "21.11";
networking.interfaces.wlan0.useDHCP = true;

View file

@ -0,0 +1,8 @@
{ ... }: {
services.xserver.libinput = {
enable = true;
touchpad.naturalScrolling = true;
};
environment.variables.LAPTOP = "True";
}