dotfiles/nixos/wsl.nix
2024-05-13 21:50:27 +00:00

21 lines
431 B
Nix

{ config, inputs, pkgs, makeEnable, ... }:
makeEnable config "modules.wsl" false {
imports = [
inputs.nixos-wsl.nixosModules.wsl
];
modules.base.enable = false;
modules.desktop.enable = false;
modules.xmonad.enable = false;
# Update timezone automatically
services.tzupdate.enable = true;
wsl = {
enable = true;
automountPath = "/mnt";
startMenuLaunchers = true;
nativeSystemd = true;
};
}