nixos_config/hosts/common/server.nix
2026-01-30 19:20:12 +01:00

20 lines
373 B
Nix

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