From 9aefa3acfa093a0f6787ea5e83e789a8f1ac1764 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 28 Jan 2024 09:37:24 +0800 Subject: [PATCH] treewide: not-detected: modulesPath -> nixosModules --- nixos/hosts/Aristotle/hardware-configuration.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nixos/hosts/Aristotle/hardware-configuration.nix b/nixos/hosts/Aristotle/hardware-configuration.nix index 17675d4..ecd6394 100644 --- a/nixos/hosts/Aristotle/hardware-configuration.nix +++ b/nixos/hosts/Aristotle/hardware-configuration.nix @@ -1,10 +1,6 @@ -{ - modulesPath, - inputs, - ... -}: { +{inputs, ...}: { imports = [ - (modulesPath + "/installer/scan/not-detected.nix") + inputs.nixpkgs.nixosModules.notDetected inputs.nixos-hardware.nixosModules.lenovo-legion-y530-15ich ];