forked from DGNum/liminix
introduce lim, the liminix library
so far we have lim.parseInt, which parses an integer from a string with optional base-selecting-prefix (e.g. 0755, 0x12ab)
This commit is contained in:
parent
863045b86b
commit
a135cb1217
3 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, config, ...}:
|
||||
{ lib, pkgs, config, lim, ...}:
|
||||
{
|
||||
config = {
|
||||
kernel.config = {
|
||||
|
@ -10,7 +10,7 @@
|
|||
OF = "y";
|
||||
USE_OF = "y";
|
||||
};
|
||||
hardware.ram.startAddress = 0;
|
||||
hardware.ram.startAddress = lim.parseInt "0x0";
|
||||
boot.commandLine = [
|
||||
"console=ttyS0,115200" # true of all mips we've yet encountered
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue