Add scripts to load FPGA system

This commit is contained in:
2024-03-04 18:32:25 +01:00
parent ef29bb0681
commit 730e342bfe
6 changed files with 97 additions and 4 deletions

View File

@@ -54,5 +54,16 @@
NIXOS_SYSTEM_TOPLEVEL = toplevel;
OPENSBI = syspkgs.opensbi-uboot;
};
devShells.x86_64-linux.lagarto-hun =
let
nixosconf = self.nixosConfigurations.lagarto-hun;
syspkgs = nixosconf.pkgs;
build = nixosconf.config.system.build;
in pkgs.mkShell {
pname = "lagarto-hun-shell";
OPENSBI = syspkgs.opensbi;
KERNEL = build.kernel;
INITRD = build.initialRamdisk;
};
};
}