diff --git a/hosts/Infini-SWIFT/default.nix b/hosts/Infini-SWIFT/default.nix index cb635b4..1d4c155 100644 --- a/hosts/Infini-SWIFT/default.nix +++ b/hosts/Infini-SWIFT/default.nix @@ -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; diff --git a/profiles/hardware/laptop.nix b/profiles/hardware/laptop.nix new file mode 100644 index 0000000..d5d5ae4 --- /dev/null +++ b/profiles/hardware/laptop.nix @@ -0,0 +1,8 @@ +{ ... }: { + services.xserver.libinput = { + enable = true; + touchpad.naturalScrolling = true; + }; + + environment.variables.LAPTOP = "True"; +}