nixos-config/machines/probe/configuration.nix

23 lines
589 B
Nix
Raw Normal View History

2024-06-21 22:33:32 +02:00
{ lib, config, pkgs, ... }: {
imports = [
./hardware-configuration
../../components
../../modules
];
2024-07-20 23:33:19 +02:00
system.stateVersion = "24.11";
2024-06-21 22:33:32 +02:00
components.mainUser.enable = true;
2024-06-21 23:25:17 +02:00
components.network.enable = true;
2024-06-21 22:33:32 +02:00
2024-08-07 11:07:10 +02:00
components.nixos.boot.enable = true;
2024-08-07 20:33:07 +02:00
components.nixos.boot.ssh.enable = true;
2024-08-07 21:25:21 +02:00
components.nixos.boot.ssh.kernelModules = ["virtio_pci"];
2024-08-07 11:07:10 +02:00
2024-06-21 22:33:32 +02:00
networking.hostName = "probe";
users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkqVvuJSvRMO5pG2CHNNBxjB7HlJudK4TQs3BhbOWOD" ];
2024-06-21 23:25:17 +02:00
users.users.root.initialPassword = "admin";
2024-06-21 22:33:32 +02:00
}