Add installation machine

Its configuration does not fit a real machine, but rather serves as a
minimal configuration for new machines during installation.
pull/48/head
Simon Bruder 2021-01-27 21:55:24 +01:00
parent d61fc70f23
commit 4664265bb0
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 21 additions and 0 deletions

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
];
}