{ config, pkgs, lib, user, inputs, ... }: let wmType = builtins.trace (config.wm.type) config.wm.type; in { imports = [ ./system/top.nix (if config.wm.type == "hyprland" then ./window_managers/hyprland/top.nix else if config.wm.type == "mangowc" then ./window_managers/mangowc/top.nix else assert false; "Unknown window manager type: ${config.wm.type}" ) ]; }