{ osConfig, ... }: let host = osConfig.networking.hostName; hostFile = ../hypr/hosts + "/${host}.lua"; in { xdg.configFile."hypr" = { source = ../hypr; recursive = true; }; xdg.configFile."hypr/host.lua".source = if builtins.pathExists hostFile then hostFile else ../hypr/hosts/default.lua; }