Move ncdc from storage-ng to server7
This commit is contained in:
parent
9e91b7c21e
commit
ed3670aeba
|
@ -12,6 +12,7 @@ rec {
|
||||||
hydra.publicKey =
|
hydra.publicKey =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhurL/sxsXRglKdLfiWIcK+iqpyhGrGt/MoBODsgvig";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDhurL/sxsXRglKdLfiWIcK+iqpyhGrGt/MoBODsgvig";
|
||||||
mpd-index = { };
|
mpd-index = { };
|
||||||
|
ncdc.publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGzWhy2T7avsFf+ZS8R99kah2wPQs7MYWUP+t4VBi28a";
|
||||||
pulsebert.publicKey =
|
pulsebert.publicKey =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAnEWn/8CKIiCtehh6Ha3XUQqjODj0ygyo3aGAsFWgfG";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAnEWn/8CKIiCtehh6Ha3XUQqjODj0ygyo3aGAsFWgfG";
|
||||||
storage-ng.publicKey =
|
storage-ng.publicKey =
|
||||||
|
|
|
@ -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 ];
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue