{ config, pkgs, lib, user, inputs, ... }: { imports = [ # First the stuff that we always want, regardless of windowmanager ./system/top.nix # Import window manager configurations based on the type defined in the machine file (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}" ) ]; }