nixos_config/hosts/common/server.nix
2025-11-13 11:03:59 +01:00

21 lines
411 B
Nix

{ config, pkgs, ... }:
{
system.autoUpgrade = {
allowReboot = true;
}; # end system.autoUpgrade
services = {
openssh = {
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
}; # end openssh
}; # end services
environment = {
systemPackages = with pkgs; [
devenv
direnv
]; # end systemPackages
}; # end environment
} # end file