From f05e7f6ae37ecc8b8da02555b5504dba1f89ada1 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Fri, 1 Nov 2024 22:09:49 +0000 Subject: [PATCH] update formatting and add main user --- hosts/x86_64/EDI/configuration.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/hosts/x86_64/EDI/configuration.nix b/hosts/x86_64/EDI/configuration.nix index b7d19c6..7bb53f6 100644 --- a/hosts/x86_64/EDI/configuration.nix +++ b/hosts/x86_64/EDI/configuration.nix @@ -7,8 +7,11 @@ #./home-assistant.nix ]; - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + boot.loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + boot.kernelParams = [ "console=tty0" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; @@ -21,6 +24,15 @@ maxJobs = 8; }]; + # Define user accounts + users.users.aaronh = { + description = "Aaron Honeycutt"; + home = "/home/aaronh"; + extraGroups = [ "wheel" "networkmanager" "adm"]; + isNormalUser = true; + hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx."; + }; + networking.hostName = "EDI"; networking.firewall = { enable = true;