diff --git a/flake.nix b/flake.nix index dd362be..53877eb 100644 --- a/flake.nix +++ b/flake.nix @@ -115,7 +115,7 @@ ./users/anon.nix ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ./systems/wsl/configuration.nix - nixos-wsl.nixosModules.default + nixos-wsl.nixosModules.wsl home-manager.nixosModules.home-manager ]; }; diff --git a/systems/wsl/configuration.nix b/systems/wsl/configuration.nix index 67fe07f..2ee5e08 100644 --- a/systems/wsl/configuration.nix +++ b/systems/wsl/configuration.nix @@ -15,9 +15,11 @@ wsl = { enable = true; + nativeSystemd = true; startMenuLaunchers = true; wslConf = { automount.root = "/mnt"; + user.default = lib.mkForce "anon"; interop = { enabled = false; appendWindowsPath = false;}; }; };