aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan Pässler <milan@petabyte.dev>2020-10-11 10:23:25 +0200
committerMilan Pässler <milan@petabyte.dev>2020-10-11 10:23:25 +0200
commit51c5aa1dc5694b1b55d3d1792a6af7ee11d82f10 (patch)
tree4b72d79ce3a11e6110c472a48fb5dbf436d71e0e
parentd5293e1efbff8f4b7d17de750ffe61e0e98cf845 (diff)
.
-rw-r--r--configs/milan-x230t.nix15
-rw-r--r--flake.nix1
2 files changed, 16 insertions, 0 deletions
diff --git a/configs/milan-x230t.nix b/configs/milan-x230t.nix
new file mode 100644
index 000000000000..99d510669042
--- /dev/null
+++ b/configs/milan-x230t.nix
@@ -0,0 +1,15 @@
+{ ... }:
+
+{
+ imports = [
+ ./common.nix
+ ./boards/x230t.nix
+ ];
+
+ corenix.corebootConfig = {
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_WIDTH = "1600";
+ CONFIG_LINEAR_FRAMEBUFFER_MAX_HEIGHT = "900";
+ };
+
+ grub2.enable = true;
+}
diff --git a/flake.nix b/flake.nix
index cb4a8a3d7195..086752030810 100644
--- a/flake.nix
+++ b/flake.nix
@@ -35,6 +35,7 @@
inherit (pkgs) coreboot-payload-grub2 coreboot-payload-tianocore coreboot;
milan-x1c = makeDevice ./configs/milan-x1c.nix;
+ milan-x230t = makeDevice ./configs/milan-x230t.nix;
};
};
}