aboutsummaryrefslogtreecommitdiff
path: root/infra/corenix/configs/milan
diff options
context:
space:
mode:
Diffstat (limited to 'infra/corenix/configs/milan')
-rw-r--r--infra/corenix/configs/milan/common.nix14
-rw-r--r--infra/corenix/configs/milan/milan-x1c.nix13
-rw-r--r--infra/corenix/configs/milan/milan-x230-fhd.nix13
-rw-r--r--infra/corenix/configs/milan/milan-x230t.nix11
4 files changed, 51 insertions, 0 deletions
diff --git a/infra/corenix/configs/milan/common.nix b/infra/corenix/configs/milan/common.nix
new file mode 100644
index 000000000000..dd3df22758bc
--- /dev/null
+++ b/infra/corenix/configs/milan/common.nix
@@ -0,0 +1,14 @@
+{ ... }:
+
+{
+ imports = [ ../common.nix ];
+
+ grub2.enable = true;
+ grub2.users.root.password = "grub.pbkdf2.sha512.10000.EAE4FDF9D98694628FF5F90A0BB4995BB8B85429D5BDCA849F1F94EA353645C86D553193DF1253908B1A25673898AD9586E117C45BA445B906AA887322DE42A5.4B7D4DF5E8E9F6958ECB3D9EA8FDBE7F3590DB03A287FF29960CDDFE7260D94AE2C50A8D399A54C3764E7F5F20DDD2D2FD9EA2C252DC02CA568C18F87DE45B0E";
+ seabios.enable = true;
+ seabios.asSecondaryPayload = true;
+ tianocore.asSecondaryPayload = true;
+ coreinfo.enable = true;
+ nvramcui.enable = true;
+ tint.enable = true;
+}
diff --git a/infra/corenix/configs/milan/milan-x1c.nix b/infra/corenix/configs/milan/milan-x1c.nix
new file mode 100644
index 000000000000..9e49e54b6432
--- /dev/null
+++ b/infra/corenix/configs/milan/milan-x1c.nix
@@ -0,0 +1,13 @@
+{ lib, ... }:
+
+{
+ imports = [ ./common.nix ../boards/x1c.nix ];
+
+ corenix.corebootConfig = {
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH = "1600";
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT = "900";
+ CONFIG_CBFS_SIZE = "0x6f0000";
+ };
+
+ tianocore.enable = true;
+}
diff --git a/infra/corenix/configs/milan/milan-x230-fhd.nix b/infra/corenix/configs/milan/milan-x230-fhd.nix
new file mode 100644
index 000000000000..f4d42a81452d
--- /dev/null
+++ b/infra/corenix/configs/milan/milan-x230-fhd.nix
@@ -0,0 +1,13 @@
+{ ... }:
+
+{
+ imports = [ ./common.nix ../boards/x230-fhd ];
+
+ corenix.corebootConfig = {
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH = "1920";
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT = "1080";
+ CONFIG_CBFS_SIZE = "0xbe5000";
+ };
+
+ tianocore.enable = true;
+}
diff --git a/infra/corenix/configs/milan/milan-x230t.nix b/infra/corenix/configs/milan/milan-x230t.nix
new file mode 100644
index 000000000000..ee3b349916c9
--- /dev/null
+++ b/infra/corenix/configs/milan/milan-x230t.nix
@@ -0,0 +1,11 @@
+{ ... }:
+
+{
+ imports = [ ./common.nix ../boards/x230t.nix ];
+
+ corenix.corebootConfig = {
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH = "1600";
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT = "900";
+ CONFIG_CBFS_SIZE = "0x500000";
+ };
+}