Add installation machine

Its configuration does not fit a real machine, but rather serves as a
minimal configuration for new machines during installation.
This commit is contained in:
Simon Bruder 2021-01-27 21:55:24 +01:00
parent d61fc70f23
commit 4664265bb0
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -0,0 +1,21 @@
{ 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
];
}