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