From cac01f421e3b1236dd4e8cd90d5d3566bd920b1a Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Wed, 13 Sep 2023 16:43:26 +0200 Subject: [PATCH 1/2] Add Luci input configuration --- home-manager/hosts/luci.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 home-manager/hosts/luci.nix diff --git a/home-manager/hosts/luci.nix b/home-manager/hosts/luci.nix new file mode 100644 index 0000000..97d99c2 --- /dev/null +++ b/home-manager/hosts/luci.nix @@ -0,0 +1,15 @@ +_: { + wayland.windowManager.sway.config.input = { + "1:1:AT_Translated_Set_2_keyboard" = { + xkb_layout = "us"; + xkb_variant = "altgr-intl"; + }; + + "2:7:SynPS/2_Synaptics_TouchPad" = { + "tap" = "enable"; + "accel_profile" = "adaptive"; + "dwt" = "enable"; + "pointer_accel" = "0.3"; + }; + }; +} From a75d65011a3f20bc408e7cbed752c2f255bda74b Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Wed, 13 Sep 2023 16:44:55 +0200 Subject: [PATCH 2/2] enable peerconnexion to allow screen sharing --- home-manager/firefox/conf/privacy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/firefox/conf/privacy.nix b/home-manager/firefox/conf/privacy.nix index 8110895..55cfd61 100644 --- a/home-manager/firefox/conf/privacy.nix +++ b/home-manager/firefox/conf/privacy.nix @@ -93,7 +93,7 @@ # Disables the WebRTC function, which gives away your local ips. Some addons like # uBlock origin provide settings to prevent WebRTC from exposing local ips without # disabling WebRTC. - "media.peerconnection.enabled" = false; + "media.peerconnection.enabled" = true; # Disable the clipboardevents. # Disable that websites can get notifications if you copy, paste, or cut something