From c69fcfa2d2061b8b8452feb3c449283c6dbc9f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Gro=C3=9Fmann?= Date: Thu, 7 Sep 2023 13:40:41 +0200 Subject: [PATCH] feat: joycon support --- hosts/desktopnix/default.nix | 1 + hosts/patricknix/default.nix | 1 + modules/hardware/nintendo.nix | 3 +++ 3 files changed, 5 insertions(+) create mode 100644 modules/hardware/nintendo.nix diff --git a/hosts/desktopnix/default.nix b/hosts/desktopnix/default.nix index e86a1d6..5c641f6 100644 --- a/hosts/desktopnix/default.nix +++ b/hosts/desktopnix/default.nix @@ -12,6 +12,7 @@ ../../modules/hardware/bluetooth.nix ../../modules/hardware/intel.nix + ../../modules/hardware/nintendo.nix ../../modules/hardware/nvidia.nix ../../modules/hardware/physical.nix ../../modules/hardware/pipewire.nix diff --git a/hosts/patricknix/default.nix b/hosts/patricknix/default.nix index be801cc..0c27cdb 100644 --- a/hosts/patricknix/default.nix +++ b/hosts/patricknix/default.nix @@ -12,6 +12,7 @@ ../../modules/hardware/bluetooth.nix ../../modules/hardware/laptop.nix + #../../modules/hardware/nintendo.nix ../../modules/hardware/intel.nix ../../modules/hardware/nvidia.nix ../../modules/hardware/physical.nix diff --git a/modules/hardware/nintendo.nix b/modules/hardware/nintendo.nix new file mode 100644 index 0000000..44466ea --- /dev/null +++ b/modules/hardware/nintendo.nix @@ -0,0 +1,3 @@ +{ + services.joycond.enable = true; +}