{ config, lib, pkgs, modulesPath, ... }: { imports = [ "${modulesPath}/profiles/base.nix" ]; nixpkgs.crossSystem = { system = "riscv64-linux"; }; networking.hostName = "nixos-riscv"; nixpkgs.overlays = [ (import ./overlay.nix) ]; # Enable ssh on boot services.openssh.enable = true; system.stateVersion = "24.05"; boot.kernelPackages = lib.mkForce pkgs.linuxPackagesCustom; boot.kernelParams = [ "console=ttyS0,115200" "console=tty1" ]; services.getty.autologinUser = "test"; users = { users.test = { password = "test"; isNormalUser = true; extraGroups = [ "wheel" ]; }; }; environment.systemPackages = with pkgs; [ gdb neofetch gcc bintools ]; }