This repository has been archived on 2024-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
{ config, lib, pkgs, vars, inputs, ... }:
|
|
let
|
|
inherit (vars) username hostName;
|
|
in
|
|
{
|
|
imports = [
|
|
inputs.nixos-wsl.nixosModules.wsl
|
|
];
|
|
|
|
wsl = {
|
|
enable = true;
|
|
defaultUser = username;
|
|
nativeSystemd = true;
|
|
useWindowsDriver = true;
|
|
wslConf = { network.hostname = hostName; };
|
|
};
|
|
}
|