Simon Bruder
4664265bb0
Its configuration does not fit a real machine, but rather serves as a minimal configuration for new machines during installation.
22 lines
444 B
Nix
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
|
|
];
|
|
}
|