retire pi4

This commit is contained in:
mjallen18
2026-02-19 18:47:05 -06:00
parent d7958927b5
commit 0d835df1aa
23 changed files with 852 additions and 936 deletions

View File

@@ -70,13 +70,7 @@ in
isHardened = cachyConfig.cpuSched == "hardened";
isLibre = false;
updateScript = null;
tests = (prevAttrs.passthru.tests or { }) // {
plymouth = import ./test.nix {
inherit kernelPackages;
inherit (flakes) nixpkgs;
chaotic = flakes.self;
} final;
};
tests = null;
}
// optionalAttr "updateScript" (cachyConfig.withUpdateScript != null) (
callPackage ./update.nix {

View File

@@ -1,73 +0,0 @@
# Run with:
# nix build -L .#linux_cachyos.passthru.tests.plymouth.driverInteractive && result/bin/nixos-test-driver
{
nixpkgs,
chaotic,
kernelPackages,
}:
import "${nixpkgs}/nixos/tests/make-test-python.nix" (
{ pkgs, lib, ... }:
{
name = "cachyos-plymouth";
meta.maintainers = with pkgs.lib.maintainers; [ pedrohlc ];
nodes.machine =
{ pkgs, ... }:
{
imports = [
chaotic.nixosModules.default
"${nixpkgs}/nixos/tests/common/user-account.nix"
];
virtualisation.qemu.options = [
"-m 16G"
"-vga none"
"-device virtio-vga-gl"
"-display gtk,gl=on"
];
virtualisation.qemu.package = lib.mkForce pkgs.qemu_full;
boot = {
inherit kernelPackages;
# kernelPackages = pkgs.linuxPackages_latest;
# Based on https://wiki.nixos.org/wiki/Plymouth
plymouth = {
enable = true;
theme = "rings";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = [ "rings" ];
})
];
};
consoleLogLevel = lib.mkForce 3;
initrd.verbose = false;
# using mkForce to properly mix with virtualisation stuff
kernelParams = lib.mkForce [
"console=ttyS0"
"clocksource=acpi_pm"
"lsm=landlock,yama,bpf"
"boot.shell_on_fail"
"quiet"
"rd.systemd.show_status=auto"
"splash"
"udev.log_priority=3"
"plymouth.ignore-serial-consoles"
];
loader.timeout = 0;
};
};
# TODO: TODO
testScript = ''
start_all()
'';
}
)

View File

@@ -38,4 +38,4 @@ stdenv.mkDerivation {
maintainers = [ ];
platforms = lib.platforms.all;
};
}
}

View File

@@ -1,4 +1,4 @@
{ fetchFromGitHub, python3Packages, lib, ... }:
{ fetchFromGitHub, python3Packages, ... }:
python3Packages.buildPythonPackage rec {
pname = "wyzeapy";
version = "0.5.31";