28 lines
681 B
Nix
28 lines
681 B
Nix
|
{ config, lib, pkgs, ... }:
|
|||
|
|
|||
|
{
|
|||
|
imports =
|
|||
|
[
|
|||
|
# Include the results of the hardware scan.
|
|||
|
./hardware-configuration.nix
|
|||
|
];
|
|||
|
|
|||
|
# Use the systemd-boot EFI boot loader.
|
|||
|
boot.loader.systemd-boot.enable = true;
|
|||
|
boot.loader.efi.canTouchEfiVariables = true;
|
|||
|
|
|||
|
services.openssh.enable = true;
|
|||
|
|
|||
|
users.users.truxnell = {
|
|||
|
isNormalUser = true;
|
|||
|
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
|||
|
packages = with pkgs; [
|
|||
|
];
|
|||
|
openssh.authorizedKeys.keys = [
|
|||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZS9J1ydflZ4iJdJgO8+vnN8nNSlEwyn9tbWU9OcysW truxnell@home"
|
|||
|
];
|
|||
|
};
|
|||
|
networking.hostId = "0a90730f";
|
|||
|
system.stateVersion = "23.11";
|
|||
|
}
|