From bd80b0fefb06c71c2ad03d095377672350deff9d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 19 Jan 2024 13:43:32 +0100 Subject: [PATCH] Add default user and serial boot parameters --- configuration.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configuration.nix b/configuration.nix index e4599e7..92621aa 100644 --- a/configuration.nix +++ b/configuration.nix @@ -22,4 +22,19 @@ system.stateVersion = "24.05"; boot.kernelPackages = lib.mkForce pkgs.linuxPackagesCustom; + + boot.kernelParams = [ + "console=ttyS0,115200" + "console=tty1" + ]; + + users = { + users.default = { + password = "visionfive-nix"; + isNormalUser = true; + extraGroups = [ + "wheel" + ]; + }; + }; }