nicks-nix-config/hosts/Alaska/default.nix

25 lines
434 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [ (import ./hardware-configuration.nix) ];
services = {
sshd.enable = true;
openssh.settings = {
PermitRootLogin = "no";
X11Forwarding = true;
};
};
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
boot.loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
};
}