diff --git a/configuration.nix b/configuration.nix
index 7a39d52..3b02383 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -8,6 +8,8 @@
EDITOR = "nvim";
};
};
+ # boot faster
+ systemd.services.NetworkManager-wait-online.enable = false;
nix = {
settings = {
auto-optimise-store = true;
diff --git a/misc/Windows.xml b/misc/Windows.xml
index f8b7cd1..93dc574 100644
--- a/misc/Windows.xml
+++ b/misc/Windows.xml
@@ -3,25 +3,25 @@
035e02d8-04d3-05e5-4706-900700080009
16777216
16777216
- 16
+ 16
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
hvm
@@ -58,6 +58,7 @@
+
diff --git a/modules/vfio.nix b/modules/vfio.nix
index d696339..dba7448 100644
--- a/modules/vfio.nix
+++ b/modules/vfio.nix
@@ -33,9 +33,9 @@
if [ "$GUEST_NAME" == "Windows" ]; then
if [ "$OPERATION" == "start" ]; then
- systemctl set-property --runtime -- user.slice AllowedCPUs=0-7,16-23
- systemctl set-property --runtime -- system.slice AllowedCPUs=0-7,16-23
- systemctl set-property --runtime -- init.scope AllowedCPUs=0-7,16-23
+ systemctl set-property --runtime -- user.slice AllowedCPUs=8-15,24-31
+ systemctl set-property --runtime -- system.slice AllowedCPUs=8-15,24-31
+ systemctl set-property --runtime -- init.scope AllowedCPUs=8-15,24-31
fi
if [ "$OPERATION" == "stopped" ]; then