add wsl default user
This commit is contained in:
@@ -115,7 +115,7 @@
|
|||||||
./users/anon.nix
|
./users/anon.nix
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||||
./systems/wsl/configuration.nix
|
./systems/wsl/configuration.nix
|
||||||
nixos-wsl.nixosModules.default
|
nixos-wsl.nixosModules.wsl
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,9 +15,11 @@
|
|||||||
|
|
||||||
wsl = {
|
wsl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
nativeSystemd = true;
|
||||||
startMenuLaunchers = true;
|
startMenuLaunchers = true;
|
||||||
wslConf = {
|
wslConf = {
|
||||||
automount.root = "/mnt";
|
automount.root = "/mnt";
|
||||||
|
user.default = lib.mkForce "anon";
|
||||||
interop = { enabled = false; appendWindowsPath = false;};
|
interop = { enabled = false; appendWindowsPath = false;};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user