Remove visionfive references

This commit is contained in:
Rodrigo Arias 2024-01-24 12:31:58 +01:00
parent 358184f869
commit d3f97dac58
2 changed files with 6 additions and 13 deletions

View File

@ -5,7 +5,7 @@ set -ex
#export PATH=/nix/store/c5xwy0rllg4lcw61mh20glairjz7ibv4-qemu-8.0.4/bin/:$PATH
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
qemu-img create -f qcow2 "$NIX_DISK_IMAGE" 1024M
@ -49,7 +49,7 @@ DEBUG_CPU="-d cpu_reset"
exec qemu-system-riscv64 \
$DEBUG_GDB \
$DEBUG_CPU \
-name visionfive-nix \
-name nixos-riscv \
-m 1024 \
-smp 32 \
-nographic \

View File

@ -5,14 +5,7 @@
"${modulesPath}/profiles/base.nix"
];
networking.hostName = "visionfive-nix";
# boot = {
# loader = {
# grub.enable = false;
# generic-extlinux-compatible.enable = true;
# };
# };
networking.hostName = "nixos-riscv";
nixpkgs.overlays = [ (import ./overlay.nix) ];
@ -28,11 +21,11 @@
"console=tty1"
];
services.getty.autologinUser = "default";
services.getty.autologinUser = "test";
users = {
users.default = {
password = "visionfive-nix";
users.test = {
password = "test";
isNormalUser = true;
extraGroups = [
"wheel"