From 8f2f511424055fbb92af0cd868500e998c5bf2dc Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Wed, 26 Apr 2023 21:04:13 +0200 Subject: [PATCH] Add some logitech stuff --- modules/common/linux/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/common/linux/default.nix b/modules/common/linux/default.nix index 627a18f..744b941 100644 --- a/modules/common/linux/default.nix +++ b/modules/common/linux/default.nix @@ -27,10 +27,15 @@ let exec_after = ''which swaync-client && swaync-client --inhibitor-remove "xdg-desktop-portal-wlr" || true''; }; }; + + logitech = { pkgs, ... }: mkIf cfg.enable { + services.ratbagd.enable = true; + environment.systemPackages = with pkgs; [ piper ]; + }; }; in { - imports = with modules; [ adb ios wlr ]; + imports = with modules; [ adb ios wlr logitech ]; options.common.linux = { enable = mkOption {