Drop schalter

It stays OpenWrt for now and doesn't eat its own sd card every 12
months.
This commit is contained in:
Sandro - 2023-12-31 01:40:15 +01:00
parent edbca77a2a
commit 5cb177882a
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
4 changed files with 0 additions and 65 deletions

View File

@ -613,14 +613,6 @@
system = "aarch64-linux";
};
schalter = nixosSystem' {
modules = [
"${nixos}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix"
./hosts/schalter
];
system = "x86_64-linux";
};
scrape = nixosSystem' {
modules = [
self.nixosModules.microvm

View File

@ -1,40 +0,0 @@
{ lib, ... }:
{
networking.hostName = "schalter";
hardware.enableRedistributableFirmware = true;
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
boot = {
loader = {
grub.enable = false;
raspberryPi = {
enable = true;
version = 1;
uboot.enable = false;
};
generic-extlinux-compatible.enable = lib.mkForce false;
};
# no zfs required
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
tmp.useTmpfs = true;
};
nixpkgs.config.packageOverrides = pkgs: {
makeModulesClosure = x:
# prevent kernel install fail due to missing modules
pkgs.makeModulesClosure (x // { allowMissing = true; });
};
sdImage = {
compressImage = false;
imageBaseName = "schalter";
firmwareSize = 512;
};
# can't find zstd library on armv6...
services.nginx.recommendedZstdSettings = lib.mkForce false;
nixpkgs.crossSystem = lib.systems.examples.raspberryPi;
}

View File

@ -92,8 +92,6 @@ with final; {
readsb = callPackage ./readsb.nix { };
schalterd = callPackage ./schalterd.nix { };
telme10 = callPackage ./telme10.nix { };
tracer-game =

View File

@ -1,15 +0,0 @@
{ pkgsCross, fetchFromGitHub }:
pkgsCross.armv7l-hf-multiplatform.pkgsStatic.rustPlatform.buildRustPackage {
name = "schalterd";
src = "${fetchFromGitHub {
owner = "astro";
repo = "spacemsg";
# master of 2023-07-02
rev = "a825a738544e62c285f4497c151a73d417326da2";
sha256 = "sha256-8sM2GdQ2nJ3YCCF5+ZW0vBNTKL3/ulY1/fmyw++5UQQ=";
}}/schalterd";
cargoSha256 = "sha256-OdNztl4XQML2UqK/4BLzKed3pBJNd9rIwHEXaIzLQ4U=";
}