{ lib, pkgs, config, unstable, ... }: {

  imports = [
    ./hardware-configuration.nix
    (unstable + "/nixos/modules/services/video/photonvision.nix")
  ];

  boot.loader.timeout = 10;
  boot.loader.grub.device = "/dev/vda";
  boot.kernelPackages = pkgs.linuxPackages_latest;

  networking = {
    useDHCP = false;
    nameservers = [ "1.1.1.1" "1.0.0.1" ];
    defaultGateway = "138.68.80.1";
    usePredictableInterfaceNames = false;
    interfaces.eth0 = {
      ipv4.addresses = [{
        address = "138.68.83.114";
        prefixLength = 20;
      }];
    };
  };

  services.openssh.enable = true;
  users.users.root.openssh.authorizedKeys.keys = [
    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjY4cuUk4IWgBgnEJSULkIHO+njUmIFP+WSWy7IobBs infinisil@vario"
  ];

  users.users.bob.group = "users";
  users.users.bob.isNormalUser = true;

  secrets.files.foo.file = ./secret;
  secrets.files.foo.user = "bob";
  environment.etc.foo.source = config.secrets.files.foo.file;

  system.stateVersion = "19.09";
}
