config/hosts/common/wsl.nix

21 lines
338 B
Nix

{ config
, lib
, pkgs
, ...
}: {
config = lib.mkIf (!config.wsl.enable or false) {
boot.loader = {
systemd-boot = {
enable = true;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
};
networking.nameservers = [ "192.168.1.1" "87.62.97.64" ];
};
}