31 lines
598 B
Nix
31 lines
598 B
Nix
{ inputs, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.nixos-wsl.nixosModules.wsl
|
|
./environment.nix
|
|
./essential.nix
|
|
./fonts.nix
|
|
./nix.nix
|
|
./users.nix
|
|
./code.nix
|
|
];
|
|
|
|
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
|
|
|
environment.variables = {
|
|
SHELL = "${pkgs.zsh}/bin/zsh";
|
|
};
|
|
|
|
wsl = {
|
|
enable = true;
|
|
automountPath = "/mnt";
|
|
startMenuLaunchers = true;
|
|
|
|
# Enable native Docker support
|
|
# docker-native.enable = true;
|
|
|
|
# Enable integration with Docker Desktop (needs to be installed)
|
|
# docker-desktop.enable = true;
|
|
};
|
|
}
|