From 85823635ad0ebd4fb0bf151bd5cbc87076945e8e Mon Sep 17 00:00:00 2001 From: ene Date: Sun, 19 Feb 2023 00:04:43 +0100 Subject: Feat: Add 'spawn' host, to simply create a bootable base --- hosts/spawn/hardware/default.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 hosts/spawn/hardware/default.nix (limited to 'hosts/spawn/hardware') diff --git a/hosts/spawn/hardware/default.nix b/hosts/spawn/hardware/default.nix new file mode 100644 index 00000000..f6500ed5 --- /dev/null +++ b/hosts/spawn/hardware/default.nix @@ -0,0 +1,28 @@ +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + (modulesPath + "/installer/scan/detected.nix") + # (modulesPath + "/installer/cd-dvd/installation-cd-base.nix") + + (modulesPath + "/profiles/base.nix") + (modulesPath + "/profiles/minimal.nix") + (modulesPath + "/profiles/all-hardware.nix") + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + + system.fileSystemLayouts = { + enable = true; + mainDisk = "/dev/disk/by-uuid/"; + efiDisk = "/dev/disk/by-uuid/"; + }; + + boot = { + }; +} -- cgit 1.4.1