Added ssh server options

This commit is contained in:
Nickiel12 2023-03-31 22:19:55 -07:00
parent d5559cf38b
commit a72360db4d

View file

@ -5,17 +5,18 @@
{
imports = [ (import ./hardware-configuration.nix) ];
services = {
sshd.enable = true;
openssh.permitRootLogin = "no";
};
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
boot.loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
devices = [ "nodev" ];
efiSupport = true;
enable = true;
version = 2;
useOSProber = false;
};
};
}