diff --git a/profiles/default.nix b/profiles/default.nix index 30ec900..0ea4094 100644 --- a/profiles/default.nix +++ b/profiles/default.nix @@ -3,6 +3,7 @@ { imports = [ ./bluetooth.nix + ./devices.nix ./gtk.nix ./laptop.nix ./wm.nix diff --git a/profiles/devices.nix b/profiles/devices.nix new file mode 100644 index 0000000..54088b3 --- /dev/null +++ b/profiles/devices.nix @@ -0,0 +1,17 @@ +{ config, lib, ... }: +let + cfg = config.my.profiles.devices; +in +{ + options.my.profiles.devices = with lib; { + enable = mkEnableOption "devices profile"; + }; + + config = lib.mkIf cfg.enable { + my.hardware = { + ergodox.enable = true; + + mx-ergo.enable = true; + }; + }; +}