forked from rarias/nixos-riscv
Add scripts to load FPGA system
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user