mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
22 lines
389 B
Nix
22 lines
389 B
Nix
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
{
|
|
imports = [ (import ./hardware-configuration.nix) ];
|
|
|
|
services = {
|
|
sshd.enable = true;
|
|
openssh.settings.PermitRootLogin = "no";
|
|
};
|
|
|
|
systemd.services.sshd.wantedBy = [ "multi-user.target" ];
|
|
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot/efi";
|
|
};
|
|
};
|
|
}
|