{ self, moduleWithSystem, inputs, ... }: { flake.nixosModules.quickshell = moduleWithSystem ({ pkgs, self', inputs', ... }: { environment.systemPackages = with self'.packages; [ quickshell ]; }); perSystem = { pkgs, lib, self', ... }: { packages.quickshell = inputs.wrappers.wrappers.quickshell.wrap { inherit pkgs; configDir = inputs.quickshell; configFile = "${inputs.quickshell}/shell.qml"; }; }; }