Commit 6bbe6a1e authored by Valentin Reis's avatar Valentin Reis

added ci.nix

parent 684d3d58
Pipeline #3669 canceled with stage
...@@ -11,5 +11,47 @@ in ...@@ -11,5 +11,47 @@ in
main = main =
{ nodes, ... }: { nodes, ... }:
}; {
} imports = [
./providers/openstack-tacc.nix
];
networking = {
firewall = {
allowedTCPPorts=[
22
8080 # micro-ci
];
allowedUDPPorts=[
22
8080 # micro-ci
];
};
};
deployment.targetEnv = "none";
deployment.targetHost = "129.114.111.116";
users.extraUsers.fre = {
isNormalUser = true;
extraGroups= ["wheel"];
openssh.authorizedKeys.keys = keys;
};
services.openssh.enable = true;
services.openssh.passwordAuthentication = false;
users.users.root.openssh.authorizedKeys.keys = keys ;
systemd.services = {
## nova-config.nix disables these via profiles/headless.nix
"serial-getty@ttyS0".enable = pkgs.lib.mkForce true;
"getty@tty1".enable = pkgs.lib.mkForce true;
## For some reason, getty@.service is missing
## a dependency on the getty.target.
"getty@tty1".wantedBy = [ "getty.target" ];
};
boot.kernelParams = [ "console=tty1" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
};
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment