nixos-riscv/configuration.nix

38 lines
671 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
"${modulesPath}/profiles/base.nix"
];
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 ];
}