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