[NixOS] Add jay-lenovo-wsl and wsl support
This commit is contained in:
24
nixos/wsl.nix
Normal file
24
nixos/wsl.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixos-wsl.nixosModules.wsl
|
||||
./nix.nix
|
||||
./users.nix
|
||||
./essential.nix
|
||||
./environment.nix
|
||||
];
|
||||
|
||||
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user