Remove visionfive references
This commit is contained in:
parent
358184f869
commit
d3f97dac58
4
boot.sh
4
boot.sh
@ -5,7 +5,7 @@ set -ex
|
|||||||
#export PATH=/nix/store/c5xwy0rllg4lcw61mh20glairjz7ibv4-qemu-8.0.4/bin/:$PATH
|
#export PATH=/nix/store/c5xwy0rllg4lcw61mh20glairjz7ibv4-qemu-8.0.4/bin/:$PATH
|
||||||
|
|
||||||
CDIR=$(readlink -f "$PWD")
|
CDIR=$(readlink -f "$PWD")
|
||||||
NIX_DISK_IMAGE=$(readlink -f "${NIX_DISK_IMAGE:-./visionfive-nix.qcow2}")
|
NIX_DISK_IMAGE=$(readlink -f "${NIX_DISK_IMAGE:-./nixos-riscv.qcow2}")
|
||||||
|
|
||||||
if ! test -e "$NIX_DISK_IMAGE"; then
|
if ! test -e "$NIX_DISK_IMAGE"; then
|
||||||
qemu-img create -f qcow2 "$NIX_DISK_IMAGE" 1024M
|
qemu-img create -f qcow2 "$NIX_DISK_IMAGE" 1024M
|
||||||
@ -49,7 +49,7 @@ DEBUG_CPU="-d cpu_reset"
|
|||||||
exec qemu-system-riscv64 \
|
exec qemu-system-riscv64 \
|
||||||
$DEBUG_GDB \
|
$DEBUG_GDB \
|
||||||
$DEBUG_CPU \
|
$DEBUG_CPU \
|
||||||
-name visionfive-nix \
|
-name nixos-riscv \
|
||||||
-m 1024 \
|
-m 1024 \
|
||||||
-smp 32 \
|
-smp 32 \
|
||||||
-nographic \
|
-nographic \
|
||||||
|
@ -5,14 +5,7 @@
|
|||||||
"${modulesPath}/profiles/base.nix"
|
"${modulesPath}/profiles/base.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "visionfive-nix";
|
networking.hostName = "nixos-riscv";
|
||||||
|
|
||||||
# boot = {
|
|
||||||
# loader = {
|
|
||||||
# grub.enable = false;
|
|
||||||
# generic-extlinux-compatible.enable = true;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
||||||
|
|
||||||
@ -28,11 +21,11 @@
|
|||||||
"console=tty1"
|
"console=tty1"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.getty.autologinUser = "default";
|
services.getty.autologinUser = "test";
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users.default = {
|
users.test = {
|
||||||
password = "visionfive-nix";
|
password = "test";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
|
Loading…
Reference in New Issue
Block a user