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

23 lines
376 B
Nix
Raw Normal View History

2023-03-31 17:38:15 -07:00
{ config, lib, pkgs, ... }:
2023-03-31 17:38:15 -07:00
{
imports = [ (import ./hardware-configuration.nix) ];
2023-03-31 22:19:55 -07:00
services = {
sshd.enable = true;
openssh.permitRootLogin = "no";
};
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
boot.loader = {
2023-03-31 22:19:55 -07:00
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
}