Move ncdc from storage-ng to server7

This commit is contained in:
Ehmry - 2020-01-26 15:11:43 +01:00
parent 9e91b7c21e
commit ed3670aeba
2 changed files with 1 additions and 18 deletions

View File

@ -12,6 +12,7 @@ rec {
hydra.publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhurL/sxsXRglKdLfiWIcK+iqpyhGrGt/MoBODsgvig";
mpd-index = { };
ncdc.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGzWhy2T7avsFf+ZS8R99kah2wPQs7MYWUP+t4VBi28a";
pulsebert.publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAnEWn/8CKIiCtehh6Ha3XUQqjODj0ygyo3aGAsFWgfG";
storage-ng.publicKey =

View File

@ -1,18 +0,0 @@
{ config, pkgs, lib, ... }:
let
ncdcPort = 1512;
in
{
users.users.ncdc =
{ isNormalUser = true;
uid = ncdcPort;
openssh.authorizedKeys.keys =
config.users.users.k-ot.openssh.authorizedKeys.keys;
password = "k-ot";
packages = [ pkgs.tmux pkgs.ncdc ];
};
networking.firewall.allowedTCPPorts = [ ncdcPort ];
networking.firewall.allowedUDPPorts = [ ncdcPort ];
}