2021-01-27 21:55:24 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.useDHCP = false;
|
2021-03-30 23:49:08 +02:00
|
|
|
# replace with actual network interface
|
2021-01-27 21:55:24 +01:00
|
|
|
networking.interfaces.eno1.useDHCP = true;
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
git # required by krops
|
|
|
|
];
|
|
|
|
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
2021-03-30 23:49:08 +02:00
|
|
|
# add ssh keys required for initial deployment with krops
|
2021-01-27 21:55:24 +01:00
|
|
|
];
|
2021-02-16 17:34:21 +01:00
|
|
|
|
|
|
|
console.keyMap = "de";
|
2021-01-27 21:55:24 +01:00
|
|
|
}
|