feat: merge own wsl config

This commit is contained in:
2026-02-28 01:57:42 +00:00
parent 4e2264dc03
commit bf41ee6e0a
14 changed files with 272 additions and 129 deletions

View File

@@ -71,7 +71,7 @@ in {
"ata_piix"
"uhci_hcd"
"xen_blkfront"
] ++ (if pkgs.system != "aarch64-linux" then [ "vmw_pvscsi" ] else []);
] ++ (if pkgs.stdenv.hostPlatform.system != "aarch64-linux" then [ "vmw_pvscsi" ] else []);
networking.useDHCP = false;
networking.useNetworkd = true;
@@ -125,7 +125,7 @@ in {
};
};
}
(lib.mkIf (pkgs.system == "aarch64-linux") {
(lib.mkIf (pkgs.stdenv.hostPlatform.system == "aarch64-linux") {
boot.initrd.kernelModules = [ "virtio_gpu" ];
boot.kernelParams = [ "console=tty" ];
})