nixos-config/hosts/enry/configuration.nix

42 lines
825 B
Nix
Raw Normal View History

2024-04-13 12:30:26 +02:00
{
pkgs,
lib,
...
2024-04-22 05:51:31 +02:00
}: let
sshKeys = import ../../crypto/ssh-keys.nix;
in {
2024-04-13 12:30:26 +02:00
imports = [
./hardware-configuration.nix
2024-04-17 20:39:12 +02:00
../../common/default.nix
../../common/hardware/raspberry-pi.nix
2024-04-13 12:30:26 +02:00
2024-04-22 04:57:27 +02:00
../../common/packages/sshd.nix
2024-04-17 20:39:12 +02:00
../../modules/nixos/vedirect-reader.nix
2024-04-13 12:30:26 +02:00
];
networking = {
hostName = "enry";
};
users.users.user = {
isNormalUser = true;
description = "User";
2024-04-17 20:39:12 +02:00
extraGroups = ["networkmanager" "wheel" "dialout"];
2024-04-13 12:30:26 +02:00
initialPassword = "correcthorsebatterystaple";
openssh.authorizedKeys.keys = [
2024-04-22 05:51:31 +02:00
sshKeys.phoenix.tasia
sshKeys.new-new-phoenix.tasia
2024-04-13 12:30:26 +02:00
];
};
environment.systemPackages = with pkgs; [
2024-04-17 20:39:12 +02:00
#
2024-04-13 12:30:26 +02:00
];
2024-04-22 04:57:27 +02:00
# services.vedirect-reader.enable = true;
2024-04-13 12:30:26 +02:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}