Add Jules' RockPro64

This commit is contained in:
Jimbo 2025-02-27 11:42:57 -05:00
parent 46ba563e2f
commit e11627bd8f
18 changed files with 155 additions and 5 deletions

View file

@ -1,6 +1,7 @@
{ ... }:
{
imports = [
./extlinux
./lanzaboote
./plymouth
./services

View file

@ -0,0 +1,10 @@
{ config, lib, ... }:
{
options.system.extlinux.enable = lib.mkEnableOption "Enable extlinux";
config.boot.loader = lib.mkIf config.system.extlinux.enable {
grub.enable = false;
systemd-boot.enable = lib.mkForce false;
generic-extlinux-compatible.enable = true;
};
}

View file

@ -1,6 +1,8 @@
{ config, lib, ... }:
{
boot = lib.mkIf config.system.desktop.enable {
options.system.fancyboot.enable = lib.mkEnableOption "Enable Plymouth";
config.boot = lib.mkIf config.system.desktop.enable {
plymouth.enable = true;
loader.timeout = lib.mkForce 0;
consoleLogLevel = lib.mkForce 0;

View file

@ -7,7 +7,7 @@
hardware.graphics = {
enable = config.system.desktop.enable;
enable32Bit = true;
enable32Bit = if config.nixpkgs.hostPlatform == "x86_64-linux" then true else false;
extraPackages = with pkgs; [
vulkan-loader
vulkan-validation-layers