diff options
| Commit | cb613ed855f6661ecac17b696bafc17472256215 (patch) | |
|---|---|---|
| Author | 2024-07-12 16:38:01 +0300 | |
| Committer | 2024-07-12 16:38:01 +0300 | |
| Files | 5c8a381e55f6d011c0e3cb1598814ae15f64c5c6 /modules/personal/hardware-laptop.nix | |
| nix-cb613ed855f6661ecac17b696bafc17472256215.tar nix-cb613ed855f6661ecac17b696bafc17472256215.tar.gz nix-cb613ed855f6661ecac17b696bafc17472256215.zip | ||
| Parent | 279900a9a5b4d4a1ffb9bf5d29ce0afd8ad33ae2 (diff) | |
[modules] Added subtypes to modules
1 files changed, 18 insertions, 0 deletions
| -rw-r--r-- | modules/personal/hardware-laptop.nix | 18 |
diff --git a/modules/personal/hardware-laptop.nix b/modules/personal/hardware-laptop.nix new file mode 100644 index 0000000..3a6d045 --- /dev/null +++ b/modules/personal/hardware-laptop.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ + brightnessctl + libinput libinput-gestures + epkowa + (epsonscan2.override { withNonFreePlugins = true; withGui = true; }) + ]; + + hardware.sane.extraBackends = [ (pkgs.epsonscan2.override { withNonFreePlugins = true; withGui = true; }) ]; + + services.xserver = { + # touchpad support + libinput = { + enable = true; + touchpad.naturalScrolling = true; + }; + }; +} |
