nixos_config/hosts/common/server.nix

22 lines
411 B
Nix
Raw Normal View History

2025-08-14 12:27:04 +02:00
{ config, pkgs, ... }:
{
2025-11-13 11:03:59 +01:00
system.autoUpgrade = {
allowReboot = true;
}; # end system.autoUpgrade
2025-08-14 12:27:04 +02:00
services = {
2025-08-26 14:00:14 +02:00
openssh = {
enable = true;
permitRootLogin = "no";
passwordAuthentication = false;
}; # end openssh
2025-08-14 12:27:04 +02:00
}; # end services
environment = {
systemPackages = with pkgs; [
devenv
direnv
]; # end systemPackages
}; # end environment
} # end file