mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat(WIP): add modules for home-manager options
This commit is contained in:
parent
5acbfe0edd
commit
ec82754ae1
23 changed files with 1378 additions and 887 deletions
12
modules/home/laptop.nix
Normal file
12
modules/home/laptop.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.swarselsystems.isLaptop = lib.mkEnableOption "laptop host";
|
||||
config.swarselsystems.touchpad = lib.mkIf config.swarselsystems.isLaptop {
|
||||
"type:touchpad" = {
|
||||
dwt = "enabled";
|
||||
tap = "enabled";
|
||||
natural_scroll = "enabled";
|
||||
middle_emulation = "enabled";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue