diff options
author | Mx Kookie <kookie@spacekookie.de> | 2021-01-01 00:55:51 +0100 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2021-01-01 00:55:51 +0100 |
commit | af8b681b5ef80871e6586061568b8ab8af2d85e3 (patch) | |
tree | 4f3d66f0afbea6c947cc4dff32fa4c25e70329d4 /infra/corenix/configs/milan | |
parent | 51970440a767f3906bcb69cc3d00185391c5d595 (diff) | |
parent | 53a9f091f8cf9362a95c12130daa1f69ddff036c (diff) |
Add 'infra/corenix/' from commit '53a9f091f8cf9362a95c12130daa1f69ddff036c'
git-subtree-dir: infra/corenix
git-subtree-mainline: 51970440a767f3906bcb69cc3d00185391c5d595
git-subtree-split: 53a9f091f8cf9362a95c12130daa1f69ddff036c
Diffstat (limited to 'infra/corenix/configs/milan')
-rw-r--r-- | infra/corenix/configs/milan/common.nix | 14 | ||||
-rw-r--r-- | infra/corenix/configs/milan/milan-x1c.nix | 13 | ||||
-rw-r--r-- | infra/corenix/configs/milan/milan-x230-fhd.nix | 13 | ||||
-rw-r--r-- | infra/corenix/configs/milan/milan-x230t.nix | 11 |
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"; + }; +} |