WIP mobile, broken build
This commit is contained in:
parent
b506e8af60
commit
4a03eb9193
14 changed files with 95 additions and 82 deletions
8
clients/quadphone/gnome.nix
Normal file
8
clients/quadphone/gnome.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{inputs, ...}: {
|
||||
imports = [inputs.nixpkgs-gnome-mobile.nixosModules.gnome-mobile];
|
||||
|
||||
i18n.inputMethod = {
|
||||
enable = true;
|
||||
type = "ibus";
|
||||
};
|
||||
}
|
20
clients/quadphone/hardware-configuration.nix
Normal file
20
clients/quadphone/hardware-configuration.nix
Normal 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;
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
{inputs, ...}: {
|
||||
imports = ["${inputs.sdm845}/nixos/profiles/boot/kernel/sdm845-mainline"];
|
||||
hardware.graphics.enable32Bit = false;
|
||||
}
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue