42 lines
805 B
Nix
42 lines
805 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";
|
|
};
|
|
|
|
nix.settings.trusted-users = [ "root" "@wheel" ];
|
|
|
|
users.users.tasia = {
|
|
isNormalUser = true;
|
|
description = "Tasia";
|
|
extraGroups = ["networkmanager" "wheel" "dialout"];
|
|
initialPassword = "correcthorsebatterystaple";
|
|
openssh.authorizedKeys.keys = [
|
|
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";
|
|
}
|