nixos-configs/nixos/server.nix
2024-11-30 13:14:46 +01:00

9 lines
143 B
Nix

{
lib,
config,
...
}: {
config = lib.mkIf (builtins.elem "server" config.deployment.tags) {
services.openssh.enable = true;
};
}