add wsl default user

This commit is contained in:
Kopatz
2023-11-17 17:07:47 +00:00
parent b584dafa8c
commit 58c31da9ca
2 changed files with 3 additions and 1 deletions

View File

@@ -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
];
};

View File

@@ -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;};
};
};