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:
parent
d61fc70f23
commit
4664265bb0
21
machines/installation/configuration.nix
Normal file
21
machines/installation/configuration.nix
Normal 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
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue