dotfiles/nixos/wsl.nix

32 lines
624 B
Nix
Raw Normal View History

{ inputs, pkgs, ... }:
{
imports = [
inputs.nixos-wsl.nixosModules.wsl
./environment.nix
./essential.nix
./fonts.nix
./nix.nix
./users.nix
2023-07-28 09:56:42 -06:00
./code.nix
];
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
environment.variables = {
SHELL = "${pkgs.zsh}/bin/zsh";
};
wsl = {
enable = true;
automountPath = "/mnt";
startMenuLaunchers = true;
2023-07-28 11:17:33 -06:00
nativeSystemd = true;
# Enable native Docker support
# docker-native.enable = true;
# Enable integration with Docker Desktop (needs to be installed)
# docker-desktop.enable = true;
};
}