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

26 lines
434 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;
2023-04-02 22:45:13 -07:00
openssh.settings = {
PermitRootLogin = "no";
2023-04-02 22:48:25 -07:00
X11Forwarding = true;
2023-04-02 22:41:29 -07:00
};
2023-03-31 22:19:55 -07:00
};
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
boot.loader = {
2023-03-31 22:19:55 -07:00
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
2023-03-31 22:25:57 -07:00
efiSysMountPoint = "/boot/efi";
};
};
}