From 871d3f95963eac25765427ecca9a8e4812071439 Mon Sep 17 00:00:00 2001 From: ene Date: Wed, 1 Feb 2023 21:33:11 +0100 Subject: Feat: Split the config apart --- hosts/IDOHVE/hardware/hardware.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 hosts/IDOHVE/hardware/hardware.nix (limited to 'hosts/IDOHVE/hardware/hardware.nix') diff --git a/hosts/IDOHVE/hardware/hardware.nix b/hosts/IDOHVE/hardware/hardware.nix new file mode 100644 index 00000000..20e4c4f3 --- /dev/null +++ b/hosts/IDOHVE/hardware/hardware.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + pkgs, + modulesPath, + ... +}:{ + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") # TODO is this necessary? + ./cpu.nix + ./gpu.nix + ./boot.nix + ./filesystems.nix + ]; + + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +} + -- cgit 1.4.1