diff --git a/flake.nix b/flake.nix index e58c0ad..e38e4d8 100755 --- a/flake.nix +++ b/flake.nix @@ -182,7 +182,7 @@ ./users/guanranwang/nixos/profiles/opt-in/torrenting # Hardware - ./nixos/hardware/lenovo/legion/81fw + ./nixos/hosts/Aristotle ./nixos/profiles/opt-in/lanzaboote.nix ./nixos/profiles/opt-in/impermanence.nix ./nixos/profiles/opt-in/disko.nix diff --git a/nixos/hardware/lenovo/legion/81fw/default.nix b/nixos/hosts/Aristotle/default.nix similarity index 76% rename from nixos/hardware/lenovo/legion/81fw/default.nix rename to nixos/hosts/Aristotle/default.nix index b6d9384..759a496 100644 --- a/nixos/hardware/lenovo/legion/81fw/default.nix +++ b/nixos/hosts/Aristotle/default.nix @@ -1,5 +1,4 @@ { - lib, modulesPath, inputs, ... @@ -16,9 +15,6 @@ }; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"]; - boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.hostPlatform = "x86_64-linux"; }