dotfiles/nixos/wsl.nix

23 lines
476 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;
2024-06-01 22:04:05 -06:00
modules.plasma.enable = false;
2023-08-29 12:33:52 -06:00
# Update timezone automatically
services.tzupdate.enable = true;
2024-06-01 22:04:05 -06:00
wsl.wslConf.automount.root = "/mnt";
wsl = {
enable = true;
startMenuLaunchers = true;
2023-07-28 11:17:33 -06:00
nativeSystemd = true;
};
}