phylotest-container.nix 542 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{ config, pkgs, ... }:
{
  containers.phylotest =
  { config =
    { config, pkgs, ... }:
    {

      environment.systemPackages = with pkgs; [
        coreutils
        findutils
        su
        vim
        (python36.withPackages(ps: with ps; [pip virtualenv webtest]))
      ];

      services.openssh.enable = true;

18 19 20 21 22
      networking.hosts = {
        "127.0.0.1" = [ "localhost" "data.phylodev.org" ];
        "::1" = [ "localhost" ];
      };

23 24 25 26 27 28
      users.extraUsers.phyloalps = {
        isNormalUser = true;
      };
    };
  };
}