config

NixOS config
Log | Files | Refs | README | LICENSE

default.nix (390B) - Raw


      1 _: {
      2   config = {
      3     services.openssh = {
      4       enable = true;
      5       settings = {
      6         PasswordAuthentication = false;
      7         KbdInteractiveAuthentication = false;
      8         PermitRootLogin = "no";
      9         X11Forwarding = true;
     10       };
     11     };
     12     programs.mosh.enable = true;
     13     programs.ssh.extraConfig = ''
     14       Host git.jakstys.lt
     15         HostName fwminex.jakst.vpn
     16     '';
     17   };
     18 }