From d3f97dac58a015d623140fc7e2f3692aa518ebd9 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 24 Jan 2024 12:31:58 +0100 Subject: [PATCH] Remove visionfive references --- boot.sh | 4 ++-- configuration.nix | 15 ++++----------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/boot.sh b/boot.sh index d01c7f8..4bdcdfb 100755 --- a/boot.sh +++ b/boot.sh @@ -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 \ diff --git a/configuration.nix b/configuration.nix index 5652161..edc7a02 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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"