profiles/vfio: screenstub input generation

This commit is contained in:
kat witch 2021-09-09 01:41:08 +01:00
parent 23d70dff9b
commit 4baa3b556c
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -10,9 +10,9 @@ in
options.home-manager.users = let
userVFIOExtend = { config, ... }: {
config = mkIf config.wayland.windowManager.sway.enable {
wayland.windowManager.sway.config.input = genAttrs [ "tablet" "mouse" "kbd" ] (t:
wayland.windowManager.sway.config.input = mapListToAttrs (t:
nameValuePair "5824:1503:screenstub-${t}" ({ events = "disabled"; })
);
) [ "tablet" "mouse" "kbd" ];
};
};
in mkOption {