This commit is contained in:
parent
61520fefb4
commit
41a334a6e9
1 changed files with 10 additions and 1 deletions
|
@ -98,6 +98,15 @@
|
||||||
# services.gpg-agent.enable = true;
|
# services.gpg-agent.enable = true;
|
||||||
programs.ssh.startAgent = true;
|
programs.ssh.startAgent = true;
|
||||||
|
|
||||||
|
# SSH
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
settings.PasswordAuthentication = false;
|
||||||
|
settings.KbdInteractiveAuthentication = false;
|
||||||
|
ports = [ 7325 ];
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run: $ nix search wget
|
# List packages installed in system profile. To search, run: $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
|
|
Loading…
Add table
Reference in a new issue