{ withSystem, inputs, ... }: { flake.homeConfigurations.wsl = withSystem "x86_64-linux" ({ pkgs, system, self', ... }: let user = self'.lib.const.user; in inputs.home-manager.lib.homeManagerConfiguration { inherit user system; configuration = self'.lib.mkHome { niko.dev.rust.enable = true; }; homeDirectory = "/home/${user}"; stateVersion = "22.05"; }); }