nixos-config/hosts/enry/configuration.nix

41 lines
790 B
Nix

{
pkgs,
lib,
...
}: let
sshKeys = import ../../crypto/ssh-keys.nix;
in {
imports = [
./hardware-configuration.nix
../../common/default.nix
../../common/hardware/raspberry-pi.nix
../../modules/nixos/vedirect-reader.nix
];
networking = {
hostName = "enry";
};
users.users.user = {
isNormalUser = true;
description = "User";
extraGroups = ["networkmanager" "wheel" "dialout"];
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
sshKeys.phoenix.tasia
sshKeys.new-new-phoenix.tasia
];
};
environment.systemPackages = with pkgs; [
#
];
# services.vedirect-reader.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}