From f6243b36655411a03afa819c97ff36ef87b7977a Mon Sep 17 00:00:00 2001 From: chn Date: Tue, 16 Sep 2025 23:20:40 +0800 Subject: [PATCH] Revert "devices.pc: remove cpu optimization, to get a working system asap" This reverts commit 72236d82af53eb4061a98d462e6e5319e8820824. --- devices/pc/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devices/pc/default.nix b/devices/pc/default.nix index 69d2b3e8..88f45e4c 100644 --- a/devices/pc/default.nix +++ b/devices/pc/default.nix @@ -32,7 +32,7 @@ inputs: sysctl.laptop-mode = 5; kernel.variant = "xanmod-latest"; }; - hardware = { gpu.type = "amd"; cpu = "amd"; }; + hardware.gpu.type = "amd"; services = { samba = @@ -83,7 +83,7 @@ inputs: lumericalLicenseManager.macAddress = "10:5f:ad:10:3e:ca"; }; bugs = [ "xmunet" "amdpstate" "iwlwifi" ]; - # packages = { mathematica = {}; vasp = {}; lumerical = {}; }; + packages = { mathematica = {}; vasp = {}; lumerical = {}; }; user.users = [ "chn" "xly" ]; }; # 允许kvm读取物理硬盘