2023-03-31 17:38:15 -07:00
|
|
|
|
2023-02-05 16:51:03 -08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
2023-03-31 17:38:15 -07:00
|
|
|
|
2023-02-05 16:51:03 -08:00
|
|
|
{
|
|
|
|
imports = [ (import ./hardware-configuration.nix) ];
|
|
|
|
|
2023-03-31 22:19:55 -07:00
|
|
|
services = {
|
|
|
|
sshd.enable = true;
|
2023-04-02 22:33:39 -07:00
|
|
|
openssh.settings.PermitRootLogin = "no";
|
2023-03-31 22:19:55 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
|
|
|
|
|
2023-02-05 16:51:03 -08:00
|
|
|
boot.loader = {
|
2023-03-31 22:19:55 -07:00
|
|
|
systemd-boot.enable = true;
|
2023-02-05 16:51:03 -08:00
|
|
|
efi = {
|
|
|
|
canTouchEfiVariables = true;
|
2023-03-31 22:25:57 -07:00
|
|
|
efiSysMountPoint = "/boot/efi";
|
2023-02-05 16:51:03 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|