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,7 +1,7 @@
{ config, ... }:
{
programs.looking-glass-client = {
enable = config.home.desktop.enable;
enable = if config.home.desktop.enable && config.nixpkgs.system == "x86_64-linux" then true else false;
settings = {
input = {
rawMouse = true;

View file

@ -19,6 +19,7 @@
../../../../../../hosts/kitty/id_ed25519.pub
../../../../../../hosts/midas/id_ed25519.pub
../../../../../../hosts/prophet/id_ed25519.pub
../../../../../../hosts/rubble/id_ed25519.pub
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJahAoF74BY6GCTsFkt1ADKaraFgJJozW1Y1aBTLK0j9 Pixel9"

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