Add Jules' RockPro64
This commit is contained in:
parent
46ba563e2f
commit
e11627bd8f
18 changed files with 155 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./extlinux
|
||||
./lanzaboote
|
||||
./plymouth
|
||||
./services
|
||||
|
|
10
modules/system/devices/boot/extlinux/default.nix
Normal file
10
modules/system/devices/boot/extlinux/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue