diff --git a/users/simon/modules/sway/default.nix b/users/simon/modules/sway/default.nix index 92568b8..fca6360 100644 --- a/users/simon/modules/sway/default.nix +++ b/users/simon/modules/sway/default.nix @@ -42,11 +42,15 @@ in output."*".bg = "${wallpaper} fill"; - input."type:keyboard" = { - xkb_layout = "de"; - xkb_options = "compose:caps"; - xkb_numlock = "enable"; - }; + input = { + "type:keyboard" = { + xkb_layout = "de"; + xkb_options = "compose:caps"; + xkb_numlock = "enable"; + }; + } // (lib.optionalAttrs (nixosConfig.networking.hostName == "mayushii") { + "type:touchpad".events = "disabled"; + }); keybindings = { # Basics