dotfiles/nixos/wsl.nix

21 lines
431 B
Nix
Raw Normal View History

{ 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;
2023-08-29 12:33:52 -06:00
# Update timezone automatically
services.tzupdate.enable = true;
wsl = {
enable = true;
automountPath = "/mnt";
startMenuLaunchers = true;
2023-07-28 11:17:33 -06:00
nativeSystemd = true;
};
}