This commit is contained in:
2026-05-29 22:01:35 +04:00
parent 0569ea2dd4
commit 931cf9966b
4 changed files with 602 additions and 264 deletions
+16 -6
View File
@@ -1,13 +1,23 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
dtbName = {
"13" = "qcom/x1e80100-microsoft-romulus13.dtb";
"15" = "qcom/x1e80100-microsoft-romulus15.dtb";
}.${config.x1e.model};
dtbName =
{
"13" = "qcom/x1e80100-microsoft-romulus13.dtb";
"15" = "qcom/x1e80100-microsoft-romulus15.dtb";
}
.${config.x1e.model};
in
{
options.x1e.model = lib.mkOption {
type = lib.types.enum [ "13" "15" ];
type = lib.types.enum [
"13"
"15"
];
default = "13";
description = "Surface Laptop 7 display size (13.8\" or 15\").";
};