configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
409 B

{ 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 ];
}