{ config, lib, pkgs, util, ... }: let swayRcRaw = pkgs.writeText "sway-rc-raw" (util.readFiles [ ./module/Mod.conf ./module/Style.conf ./module/Display.conf ./module/Input.conf ./module/Font.conf ./module/Launcher.conf ./module/Terminal.conf ./module/TitleBar.conf ./module/Navigation.conf ./module/Notification.conf ./module/Resize.conf ./module/ScratchPad.conf ./module/Screenshot.conf ./module/Sound.conf ./module/Tiling.conf ./module/Workspace.conf ./module/Session.conf ./module/Keyd.conf ./module/Waybar.conf ./module/System.conf ./module/Mouse.conf ]); in { text = '' # Read `man 5 sway` for a complete reference. include /etc/sway/config.d/* '' + swayRc + lib.concatStringsSep "\n" config.module.sway.extraConfig; }