open SSH ports

This commit is contained in:
Danilo Reyes 2023-05-13 11:13:54 -06:00
parent 9a4e6ed758
commit 3ee1ae5b84

View File

@ -235,6 +235,9 @@ users.users.jawz = {
extraGroups = [ "wheel" "networkmanager" "docker" "scanner" "lp" ];
initialPassword = "password";
shell = pkgs.fish;
openssh = {
authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacero\cdreyes@100CDREYES" ];
};
packages = (with pkgs; [
#+end_src
@ -327,6 +330,7 @@ nextcloud-client # teehee
*** Web
Stuff that I use to interact with the web, web browsers, chats, downloaders,
etc.
#+begin_src nix
discord # chat
google-chrome # web browser with spyware included
@ -861,9 +865,19 @@ services = {
"/mnt/disk2"
];
};
mediatomb.enable = true;
openssh = {
enable = true;
ports = [ 25152 ];
passwordAuthentication = false;
kbdInteractiveAuthentication = false;
startWhenNeeded = true;
listenAddresses = [
{
addr = "0.0.0.0";
port = 25152;
}
];
};
# udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
emacs = {