update formatting and add main user

This commit is contained in:
Aaron Honeycutt 2024-11-01 22:09:49 +00:00
parent c9ce3f5233
commit f05e7f6ae3

View file

@ -7,8 +7,11 @@
#./home-assistant.nix #./home-assistant.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader = {
boot.loader.efi.canTouchEfiVariables = true; systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
boot.kernelParams = [ "console=tty0" ]; boot.kernelParams = [ "console=tty0" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
@ -21,6 +24,15 @@
maxJobs = 8; 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.hostName = "EDI";
networking.firewall = { networking.firewall = {
enable = true; enable = true;