From ed3670aeba57788479787c3a03780450e962f460 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sun, 26 Jan 2020 15:11:43 +0100 Subject: [PATCH] Move ncdc from storage-ng to server7 --- host-registry.nix | 1 + hosts/storage-ng/ncdc.nix | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 hosts/storage-ng/ncdc.nix diff --git a/host-registry.nix b/host-registry.nix index a8c5dfcc..875e08dc 100644 --- a/host-registry.nix +++ b/host-registry.nix @@ -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 = diff --git a/hosts/storage-ng/ncdc.nix b/hosts/storage-ng/ncdc.nix deleted file mode 100644 index 193ba3b5..00000000 --- a/hosts/storage-ng/ncdc.nix +++ /dev/null @@ -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 ]; -} -