41 lines
778 B
Nix
41 lines
778 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
sshKeys = import ../../crypto/ssh-keys.nix;
|
|
in {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../common/base.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.tasia.phoenix
|
|
sshKeys.tasia.yaseen
|
|
];
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
#
|
|
];
|
|
|
|
# services.vedirect-reader.enable = true;
|
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
system.stateVersion = "23.11";
|
|
}
|