refactor: laptop hardware settings
This commit is contained in:
parent
6a00183557
commit
4d3a6c4f20
2 changed files with 14 additions and 7 deletions
|
@ -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;
|
||||
|
|
8
profiles/hardware/laptop.nix
Normal file
8
profiles/hardware/laptop.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ ... }: {
|
||||
services.xserver.libinput = {
|
||||
enable = true;
|
||||
touchpad.naturalScrolling = true;
|
||||
};
|
||||
|
||||
environment.variables.LAPTOP = "True";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue