2024-01-18 15:59:51 +01:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
2022-06-25 17:37:18 +02:00
|
|
|
{
|
2024-01-18 15:59:51 +01:00
|
|
|
imports = [
|
|
|
|
"${modulesPath}/profiles/base.nix"
|
|
|
|
];
|
|
|
|
|
2022-07-13 08:41:39 +02:00
|
|
|
networking.hostName = "visionfive-nix";
|
|
|
|
|
2024-01-19 12:32:06 +01:00
|
|
|
# boot = {
|
|
|
|
# loader = {
|
|
|
|
# grub.enable = false;
|
|
|
|
# generic-extlinux-compatible.enable = true;
|
|
|
|
# };
|
|
|
|
# };
|
2023-02-16 11:37:41 +01:00
|
|
|
|
2024-01-17 18:22:30 +01:00
|
|
|
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
|
|
|
|
2022-07-13 08:40:23 +02:00
|
|
|
# Enable ssh on boot
|
|
|
|
services.openssh.enable = true;
|
2024-01-18 15:59:51 +01:00
|
|
|
|
|
|
|
system.stateVersion = "24.05";
|
2024-01-19 12:32:06 +01:00
|
|
|
|
|
|
|
boot.kernelPackages = lib.mkForce pkgs.linuxPackagesCustom;
|
2024-01-19 13:43:32 +01:00
|
|
|
|
|
|
|
boot.kernelParams = [
|
|
|
|
"console=ttyS0,115200"
|
|
|
|
"console=tty1"
|
|
|
|
];
|
|
|
|
|
2024-01-24 09:58:41 +01:00
|
|
|
services.getty.autologinUser = "default";
|
|
|
|
|
2024-01-19 13:43:32 +01:00
|
|
|
users = {
|
|
|
|
users.default = {
|
|
|
|
password = "visionfive-nix";
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [
|
|
|
|
"wheel"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-01-22 16:05:38 +01:00
|
|
|
|
2024-01-24 09:58:57 +01:00
|
|
|
environment.systemPackages = with pkgs; [ gdb neofetch ];
|
2022-06-25 17:37:18 +02:00
|
|
|
}
|