{moduleWithSystem, ...}: { flake.nixosModules.hyprland = moduleWithSystem ({self', ...}: { programs.hyprland = { enable = true; package = self'.packages.hyprland; }; }); perSystem = { inputs', pkgs, self', ... }: { packages.hyprland = inputs'.hyprland.packages.default.override { runtimePkgs = with pkgs; [ waybar ] ++ (with self'.packages; [ foot ]); }; }; }