base: add motd
Some checks failed
Eval nix flake / evals (push) Failing after 1m43s
Eval nix flake / evals (pull_request) Failing after 1m47s

This commit is contained in:
Felix Albrigtsen 2024-02-19 15:55:42 +01:00
parent c683a6d4c2
commit 8b44ddd56d
3 changed files with 7 additions and 2 deletions

View File

@ -73,6 +73,7 @@
# Trusted users on the nix builder machines
users.groups."nix-builder-users".name = "nix-builder-users";
users.motd = builtins.readFile ./misc/motd;
services.openssh = {
enable = true;

View File

@ -80,10 +80,14 @@
PubkeyAcceptedAlgorithms=+ssh-rsa
'';
settings.GatewayPorts = "yes";
banner = builtins.readFile ../../motd;
settings = {
GatewayPorts = "yes";
PermitRootLogin = "yes";
};
};
users.motd = builtins.readFile ../../misc/motd;
networking = {
firewall.enable = true;
# Use systemd-resolved inside the container

View File