mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 20:50:15 +00:00
wsl compatibility fixes
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{ nixpkgs, home-manager, globals, ... }:
|
||||
{ nixpkgs, wsl, home-manager, globals, ... }:
|
||||
|
||||
# System configuration for WSL
|
||||
nixpkgs.lib.nixosSystem {
|
||||
@ -7,13 +7,22 @@ nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
globals
|
||||
home-manager.nixosModules.home-manager
|
||||
wsl.nixosModules.wsl
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
networking.hostName = "wsl";
|
||||
gui.enable = false;
|
||||
passwordHash =
|
||||
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
|
||||
wsl = {
|
||||
enable = true;
|
||||
automountPath = "/mnt";
|
||||
defaultUser = globals.user;
|
||||
startMenuLaunchers = true;
|
||||
};
|
||||
}
|
||||
../common.nix
|
||||
../../modules/system
|
||||
../../modules/programming/nix.nix
|
||||
../../modules/programming/lua.nix
|
||||
];
|
||||
|
Reference in New Issue
Block a user