WIP mobile, broken build

This commit is contained in:
Henry Hiles 2025-07-12 18:21:49 -04:00
commit 4a03eb9193
No known key found for this signature in database
14 changed files with 95 additions and 82 deletions

View file

@ -0,0 +1,8 @@
{inputs, ...}: {
imports = [inputs.nixpkgs-gnome-mobile.nixosModules.gnome-mobile];
i18n.inputMethod = {
enable = true;
type = "ibus";
};
}

View file

@ -0,0 +1,20 @@
{
config,
inputs,
pkgs,
lib,
...
}: {
imports = [
(_:
import
"${inputs.sdm845}/nixos/profiles/boot/kernel/sdm845-mainline"
{
inherit pkgs lib config;
inputs = inputs.sdm845.inputs;
})
];
nixpkgs.hostPlatform = "aarch64-linux";
nixpkgs.config.allowBroken = true;
}

View file

@ -1,4 +0,0 @@
{inputs, ...}: {
imports = ["${inputs.sdm845}/nixos/profiles/boot/kernel/sdm845-mainline"];
hardware.graphics.enable32Bit = false;
}

View file

@ -14,16 +14,26 @@ in {
enable = true;
partitions."03-root".Type = "root";
};
boot.initrd.systemd = {
enable = true;
root = "gpt-auto";
};
boot.initrd.supportedFilesystems.ext4 = true;
fileSystems."/".device = "/dev/disk/by-label/nixos";
fileSystems."/".fsType = "ext4";
fileSystems."/boot".device = "/dev/disk/by-label/ESP";
fileSystems."/boot".fsType = "vfat";
boot.initrd = {
supportedFilesystems.ext4 = true;
systemd = {
enable = true;
root = "gpt-auto";
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
};
};
image.repart = {
name = "image";
partitions = {