initial commit

This commit is contained in:
marble 2023-09-10 15:01:32 +02:00
commit 2762313824
19 changed files with 11541 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
boot.kernelParams = [
"console=ttyS1,115200n8"
];
environment.systemPackages = with pkgs; [
libraspberrypi
];
}

View file

@ -0,0 +1,12 @@
{ config, pkgs, lib, ... }:
{
# # cross compile
# nixpkgs.crossSystem = lib.systems.elaborate lib.systems.examples.aarch64-multiplatform;
# # emulate
nixpkgs.system = "aarch64-linux";
imports = [
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
];
}