diff --git a/profiles/default.nix b/profiles/default.nix index eea1a11..30ec900 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -4,6 +4,7 @@ imports = [ ./bluetooth.nix ./gtk.nix + ./laptop.nix ./wm.nix ./x.nix ]; diff --git a/profiles/laptop.nix b/profiles/laptop.nix new file mode 100644 index 0000000..188619c --- /dev/null +++ b/profiles/laptop.nix @@ -0,0 +1,14 @@ +{ config, lib, ... }: +let + cfg = config.my.profiles.laptop; +in +{ + options.my.profiles.laptop = with lib; { + enable = mkEnableOption "laptop profile"; + }; + + config = lib.mkIf cfg.enable { + # Enable touchpad support + services.xserver.libinput.enable = true; + }; +}