Switchable Hardware Configuration

- Move generated hardware-configuration.nix files to hardware folder
- Add flake.nix option to select which hardware configuration to use
This commit is contained in:
Sravan Balaji
2024-03-24 21:02:39 -04:00
parent 4a157b888b
commit 43fcffba37
4 changed files with 26 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
{
imports = [
../../system/hardware-configuration.nix
(./. + "../../hardware" + ("/" + systemSettings.hardwareConfiguration) + ".nix")
../../system/hardware/kernel.nix
../../system/hardware/bluetooth.nix
../../system/hardware/opengl.nix