nixos-config/machines/installation/configuration.nix
Simon Bruder 4664265bb0
Add installation machine
Its configuration does not fit a real machine, but rather serves as a
minimal configuration for new machines during installation.
2021-01-30 16:41:06 +01:00

22 lines
444 B
Nix

{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
networking.useDHCP = false;
# FIXME: replace with actual network interface
networking.interfaces.eno1.useDHCP = true;
environment.systemPackages = with pkgs; [
git # required by krops
];
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keys = [
# FIXME: add ssh keys required for initial deployment with krops
];
}